From: <mie...@us...> - 2012-06-13 03:26:39
|
Revision: 7891 http://oorexx.svn.sourceforge.net/oorexx/?rev=7891&view=rev Author: miesfeld Date: 2012-06-13 03:26:33 +0000 (Wed, 13 Jun 2012) Log Message: ----------- ooSQLite - fix return type Modified Paths: -------------- incubator/ooSQLite/src/ooSQLite.cpp Modified: incubator/ooSQLite/src/ooSQLite.cpp =================================================================== --- incubator/ooSQLite/src/ooSQLite.cpp 2012-06-13 03:06:40 UTC (rev 7890) +++ incubator/ooSQLite/src/ooSQLite.cpp 2012-06-13 03:26:33 UTC (rev 7891) @@ -4392,7 +4392,7 @@ pCooSQLiteStmt pCstmt = requiredStmtCSelf(context, pCSelf); if ( pCstmt == NULL ) { - return NULLOBJECT; + return SQLITE_MISUSE; } return pCstmt->lastErrCode; } @@ -5707,7 +5707,7 @@ pCooSQLiteBackup pCbu = requiredBuCSelf(context, pCSelf); if ( pCbu == NULL ) { - return NULLOBJECT; + return SQLITE_MISUSE; } return pCbu->lastErrCode; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |