Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: third_party/sqlite/src/tool/speedtest8inst1.c

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/tool/speedtest16.c ('k') | third_party/sqlite/src/tool/sqldiff.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/tool/speedtest8inst1.c
diff --git a/third_party/sqlite/src/tool/speedtest8inst1.c b/third_party/sqlite/src/tool/speedtest8inst1.c
index f0cb544c81e99b879c7c529c0642271733de7ada..ceaeca0f167bb4fbabf89f3a47e08d12766f520a 100644
--- a/third_party/sqlite/src/tool/speedtest8inst1.c
+++ b/third_party/sqlite/src/tool/speedtest8inst1.c
@@ -29,6 +29,8 @@
#include <stdarg.h>
#include "sqlite3.h"
+#define ISSPACE(X) isspace((unsigned char)(X))
+
#include "test_osinst.c"
/*
@@ -197,7 +199,7 @@ int main(int argc, char **argv){
zSql[j+1] = c;
if( isComplete ){
zSql[j] = 0;
- while( i<j && isspace(zSql[i]) ){ i++; }
+ while( i<j && ISSPACE(zSql[i]) ){ i++; }
if( i<j ){
prepareAndRun(pInstVfs, db, &zSql[i]);
}
« no previous file with comments | « third_party/sqlite/src/tool/speedtest16.c ('k') | third_party/sqlite/src/tool/sqldiff.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698