diff options
Diffstat (limited to 'tool/sqldiff.c')
-rw-r--r-- | tool/sqldiff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/sqldiff.c b/tool/sqldiff.c index 0f406d8a0..56ff53ee2 100644 --- a/tool/sqldiff.c +++ b/tool/sqldiff.c @@ -155,6 +155,7 @@ static char *safeId(const char *zId){ "WITH", "WITHOUT", }; int lwr, upr, mid, c, i, x; + if( zId[0]==0 ) return sqlite3_mprintf("\"\""); for(i=x=0; (c = zId[i])!=0; i++){ if( !isalpha(c) && c!='_' ){ if( i>0 && isdigit(c) ){ |