Fix DATADIR

This commit is contained in:
Meutel 2016-12-17 11:55:32 +01:00
parent b593eda015
commit f88a3c22d9

View File

@ -74,7 +74,7 @@ db_open(void)
attempt = 0;
again:
rc = sqlite3_open(DATADIR "/example4.db", &db);
rc = sqlite3_open("/tmp/example4.db", &db);
if (SQLITE_BUSY == rc) {
db_sleep(attempt++);
goto again;