From f88a3c22d92bc231e647702743062cc927fb4610 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sat, 17 Dec 2016 11:55:32 +0100 Subject: [PATCH] Fix DATADIR --- examples/example4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example4.c b/examples/example4.c index 7d9c0d7..cb7eaa3 100644 --- a/examples/example4.c +++ b/examples/example4.c @@ -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;