MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / wsToEol

Function wsToEol

modules/dasSQLITE/sqlite/shell.c:17269–17278  ·  view source on GitHub ↗

** Return true if string z[] has nothing but whitespace and comments to the ** end of the first line. */

Source from the content-addressed store, hash-verified

17267** end of the first line.
17268*/
17269static int wsToEol(const char *z){
17270 int i;
17271 for(i=0; z[i]; i++){
17272 if( z[i]=='\n' ) return 1;
17273 if( IsSpace(z[i]) ) continue;
17274 if( z[i]=='-' && z[i+1]=='-' ) return 1;
17275 return 0;
17276 }
17277 return 1;
17278}
17279
17280/*
17281** Add a new entry to the EXPLAIN QUERY PLAN data

Callers 1

shell_callbackFunction · 0.85

Calls 1

IsSpaceFunction · 0.85

Tested by

no test coverage detected