Merge latest changes from trunk with this branch.

FossilOrigin-Name: 45467ee49872f495d5276cf830f10c3cf4ac8e3c
This commit is contained in:
dan
2016-04-28 14:59:05 +00:00
5 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -1271,7 +1271,7 @@ static int sqlite3_mprintf_int64(
return TCL_ERROR;
}
for(i=2; i<5; i++){
if( sqlite3Atoi64(argv[i], &a[i-2], 1000000, SQLITE_UTF8) ){
if( sqlite3Atoi64(argv[i], &a[i-2], sqlite3Strlen30(argv[i]), SQLITE_UTF8) ){
Tcl_AppendResult(interp, "argument is not a valid 64-bit integer", 0);
return TCL_ERROR;
}