| Index: third_party/sqlite/src/src/test5.c
|
| diff --git a/third_party/sqlite/src/src/test5.c b/third_party/sqlite/src/src/test5.c
|
| index 369580b2fc5338fbfad6e81443efcb0a5c788c65..504fdb8a979e527c51bd5af41d7ba0f387cb5f83 100644
|
| --- a/third_party/sqlite/src/src/test5.c
|
| +++ b/third_party/sqlite/src/src/test5.c
|
| @@ -14,8 +14,6 @@
|
| ** testing of the SQLite library. Specifically, the code in this file
|
| ** is used for testing the SQLite routines for converting between
|
| ** the various supported unicode encodings.
|
| -**
|
| -** $Id: test5.c,v 1.22 2008/08/12 15:04:59 danielk1977 Exp $
|
| */
|
| #include "sqliteInt.h"
|
| #include "vdbeInt.h"
|
| @@ -157,7 +155,7 @@ static int test_translate(
|
| if( enc_from==SQLITE_UTF8 ){
|
| z = Tcl_GetString(objv[1]);
|
| if( objc==5 ){
|
| - z = sqlite3DbStrDup(0, z);
|
| + z = sqlite3_mprintf("%s", z);
|
| }
|
| sqlite3ValueSetStr(pVal, -1, z, enc_from, xDel);
|
| }else{
|
|
|