Index: src/vdbe.c ================================================================== --- src/vdbe.c +++ src/vdbe.c @@ -41,11 +41,11 @@ ** documentation, headers files, or other derived files. The formatting ** of the code in this file is, therefore, important. See other comments ** in this file for details. If in doubt, do not deviate from existing ** commenting and indentation practices when changing or adding code. ** -** $Id: vdbe.c,v 1.395 2004/06/30 02:35:51 danielk1977 Exp $ +** $Id: vdbe.c,v 1.396 2004/06/30 02:43:38 danielk1977 Exp $ */ #include "sqliteInt.h" #include "os.h" #include #include "vdbeInt.h" @@ -1414,11 +1414,11 @@ || sqlite3VdbeMemNulTerminate(pTos) ){ goto no_mem; } if( !sqlite3atoi64(pTos->z, &v) ){ double r; - if( !sqlite3IsNumber(pTos->z, 0, db->enc) ){ + if( !sqlite3IsNumber(pTos->z, 0, SQLITE_UTF8) ){ goto mismatch; } Realify(pTos); v = (int)pTos->r; r = (double)v;