Fix DATADIR
This commit is contained in:
parent
b593eda015
commit
f88a3c22d9
@ -74,7 +74,7 @@ db_open(void)
|
|||||||
|
|
||||||
attempt = 0;
|
attempt = 0;
|
||||||
again:
|
again:
|
||||||
rc = sqlite3_open(DATADIR "/example4.db", &db);
|
rc = sqlite3_open("/tmp/example4.db", &db);
|
||||||
if (SQLITE_BUSY == rc) {
|
if (SQLITE_BUSY == rc) {
|
||||||
db_sleep(attempt++);
|
db_sleep(attempt++);
|
||||||
goto again;
|
goto again;
|
||||||
|
Loading…
Reference in New Issue
Block a user