** Return true if string z[] has nothing but whitespace and comments to the ** end of the first line. */
| 17267 | ** end of the first line. |
| 17268 | */ |
| 17269 | static 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 |
no test coverage detected