Index: third_party/sqlite/src/src/test8.c |
diff --git a/third_party/sqlite/src/src/test8.c b/third_party/sqlite/src/src/test8.c |
index a313c2601dedfcfe2b1f3490d33dfdb1df017d1d..b3e6058acb19d331715a9a0cdd0d39d9ce6c0417 100644 |
--- a/third_party/sqlite/src/src/test8.c |
+++ b/third_party/sqlite/src/src/test8.c |
@@ -12,8 +12,6 @@ |
** Code for testing the virtual table interfaces. This code |
** is not included in the SQLite library. It is used for automated |
** testing of the SQLite library. |
-** |
-** $Id: test8.c,v 1.78 2009/04/29 11:50:54 danielk1977 Exp $ |
*/ |
#include "sqliteInt.h" |
#include "tcl.h" |
@@ -487,7 +485,7 @@ static int echoCreate( |
rc = sqlite3_exec(db, zSql, 0, 0, 0); |
sqlite3_free(zSql); |
if( rc!=SQLITE_OK ){ |
- *pzErr = sqlite3DbStrDup(0, sqlite3_errmsg(db)); |
+ *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db)); |
} |
} |