Author: akv
Date: 2010-01-17 00:37:08 +0100 (Sun, 17 Jan 2010)
New Revision: 3016

Modified:
   branches/rawstudio-ng-color/src/rs-library.c
Log:
SQLITE_DONE ain't an error.

Modified: branches/rawstudio-ng-color/src/rs-library.c
===================================================================
--- branches/rawstudio-ng-color/src/rs-library.c        2010-01-16 21:44:04 UTC 
(rev 3015)
+++ branches/rawstudio-ng-color/src/rs-library.c        2010-01-16 23:37:08 UTC 
(rev 3016)
@@ -186,7 +186,7 @@
 static void
 library_sqlite_error(sqlite3 *db, gint result)
 {
-       if (result != SQLITE_OK)
+       if (result != SQLITE_OK && result != SQLITE_DONE)
        {
                g_warning("sqlite3 warning: %s\n", sqlite3_errmsg(db));
        }


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to