diff --git a/modules/sqlite/Column.cpp b/modules/sqlite/Column.cpp index 87a47b37..6763c373 100644 --- a/modules/sqlite/Column.cpp +++ b/modules/sqlite/Column.cpp @@ -186,9 +186,9 @@ void Column::SetIndex(const Object & column) case OT_STRING: { // Obtain the object from the stack as a string - const StackStrF val(vm, -1, false); + StackStrF val(vm, -1); // Validate the result - if (SQ_FAILED(val.mRes)) + if (SQ_FAILED(val.Proc(false))) { STHROWF("%s", LastErrorString(vm).c_str()); } @@ -211,9 +211,9 @@ void Column::SetIndex(const Object & column) case OT_INSTANCE: { // Obtain the object from the stack as a string - const StackStrF val(vm, -1, false); + StackStrF val(vm, -1); // Validate the result - if (SQ_FAILED(val.mRes)) + if (SQ_FAILED(val.Proc(false))) { STHROWF("%s", LastErrorString(vm).c_str()); } diff --git a/modules/sqlite/Handle/Connection.cpp b/modules/sqlite/Handle/Connection.cpp index c801b71a..16b26d58 100644 --- a/modules/sqlite/Handle/Connection.cpp +++ b/modules/sqlite/Handle/Connection.cpp @@ -118,7 +118,7 @@ Int32 ConnHnd::Flush(Uint32 num, Object & env, Function & func) try { // Ask the callback whether the query processing should end here - SharedPtr< bool > ret = callback.Evaluate< bool, Int32, const String & >(mStatus, *itr); + SharedPtr< bool > ret = callback.Evaluate< bool >(mStatus, *itr); // Should we break here? if (!!ret && (*ret == false)) { diff --git a/modules/sqlite/Parameter.cpp b/modules/sqlite/Parameter.cpp index 630b0f9f..5bd5d6dc 100644 --- a/modules/sqlite/Parameter.cpp +++ b/modules/sqlite/Parameter.cpp @@ -168,9 +168,9 @@ void Parameter::SetIndex(const Object & param) case OT_STRING: { // Obtain the object from the stack as a string - const StackStrF val(vm, -1, false); + StackStrF val(vm, -1); // Validate the result - if (SQ_FAILED(val.mRes)) + if (SQ_FAILED(val.Proc(false))) { STHROWF("%s", LastErrorString(vm).c_str()); } @@ -193,9 +193,9 @@ void Parameter::SetIndex(const Object & param) case OT_INSTANCE: { // Obtain the object from the stack as a string - const StackStrF val(vm, -1, false); + StackStrF val(vm, -1); // Validate the result - if (SQ_FAILED(val.mRes)) + if (SQ_FAILED(val.Proc(false))) { STHROWF("%s", LastErrorString(vm).c_str()); }