Browse Source

[trac1061] fix name for in-memory sqlite db

Jelte Jansen 14 years ago
parent
commit
885d7987ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/datasrc/tests/sqlite3_connection_unittest.cc

+ 1 - 1
src/lib/datasrc/tests/sqlite3_connection_unittest.cc

@@ -31,7 +31,7 @@ std::string SQLITE_DBFILE_EXAMPLE = TEST_DATA_DIR "/test.sqlite3";
 std::string SQLITE_DBFILE_EXAMPLE2 = TEST_DATA_DIR "/example2.com.sqlite3";
 std::string SQLITE_DBFILE_EXAMPLE_ROOT = TEST_DATA_DIR "/test-root.sqlite3";
 std::string SQLITE_DBFILE_BROKENDB = TEST_DATA_DIR "/brokendb.sqlite3";
-std::string SQLITE_DBFILE_MEMORY = "memory";
+std::string SQLITE_DBFILE_MEMORY = ":memory:";
 
 // The following file must be non existent and must be non"creatable";
 // the sqlite3 library will try to create a new DB file if it doesn't exist,