Home
last modified time | relevance | path

Searched refs:needQuote (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/sqlite/
H A Dshell.c424 int needQuote; in set_table_name() local
432 needQuote = !isalpha(*zName) && *zName!='_'; in set_table_name()
435 needQuote = 1; in set_table_name()
439 if( needQuote ) n += 2; in set_table_name()
446 if( needQuote ) z[n++] = '\''; in set_table_name()
451 if( needQuote ) z[n++] = '\''; in set_table_name()
/titanic_50/usr/src/lib/libsqlite/src/
H A Dbuild.c797 int needQuote = 0; in identLength() local
799 if( *z=='\'' ){ n++; needQuote=1; } in identLength()
801 return n + needQuote*2; in identLength()
809 int i, j, needQuote; in identPut() local
814 needQuote = zIdent[j]!=0 || isdigit(zIdent[0]) in identPut()
816 if( needQuote ) z[i++] = '\''; in identPut()
821 if( needQuote ) z[i++] = '\''; in identPut()