OSDN Git Service

sqliteタイムアウト値を設定
authorunknown <qwerty2501@users.sourceforge.jp>
Tue, 7 Feb 2012 03:25:45 +0000 (12:25 +0900)
committerunknown <qwerty2501@users.sourceforge.jp>
Tue, 7 Feb 2012 03:25:45 +0000 (12:25 +0900)
nlite.suo
sqlite3/sqliteMangaer.c

index 4c96968..306e270 100644 (file)
Binary files a/nlite.suo and b/nlite.suo differ
index bf21c4f..4eac9db 100644 (file)
 
        rc = sqlite3_open_v2( fileNameMB,pDb, flags, zVfs);
        
+       
        if ( SQLITE_OK != rc )  {
                SqliteManager_close(pDb);
+               goto end;
        }
 
+       sqlite3_busy_timeout(*pDb,2000);
+
+end:
+
+
        return rc;
 
 }