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

Unified Diff: third_party/sqlite/src/tool/speedtest16.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/spaceanal.tcl ('k') | third_party/sqlite/src/tool/speedtest8inst1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/tool/speedtest16.c
diff --git a/third_party/sqlite/src/tool/speedtest16.c b/third_party/sqlite/src/tool/speedtest16.c
index e81f1a6dba0e067fbd84677ad6ba7fa5a5c4ec66..993cc1926840bd3b68fc0ff12ac41d769d0f9e45 100644
--- a/third_party/sqlite/src/tool/speedtest16.c
+++ b/third_party/sqlite/src/tool/speedtest16.c
@@ -29,6 +29,8 @@
#include <unistd.h>
#include "sqlite3.h"
+#define ISSPACE(X) isspace((unsigned char)(X))
+
/*
** hwtime.h contains inline assembler code for implementing
** high-performance timing routines.
@@ -140,7 +142,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 ){
nStmt++;
nByte += j-i;
« no previous file with comments | « third_party/sqlite/src/tool/spaceanal.tcl ('k') | third_party/sqlite/src/tool/speedtest8inst1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698