MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / SQL_var_or_string

Function SQL_var_or_string

src/gpre/sql.cpp:1049–1061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047//
1048
1049TEXT* SQL_var_or_string(bool string_only)
1050{
1051
1052 if ((gpreGlob.token_global.tok_type != tok_sglquoted && gpreGlob.sw_sql_dialect == 3) ||
1053 (!isQuoted(gpreGlob.token_global.tok_type) && gpreGlob.sw_sql_dialect == 1))
1054 {
1055 if (string_only)
1056 CPR_s_error("<quoted string>");
1057 if (!MSC_match(KW_COLON))
1058 CPR_s_error("<colon> or <quoted string>");
1059 }
1060 return PAR_native_value(false, false);
1061}
1062
1063
1064//____________________________________________________________

Callers 4

act_connectFunction · 0.85
connect_optsFunction · 0.85
PAR_databaseFunction · 0.85
PAR_event_initFunction · 0.85

Calls 4

isQuotedFunction · 0.85
CPR_s_errorFunction · 0.85
MSC_matchFunction · 0.85
PAR_native_valueFunction · 0.85

Tested by

no test coverage detected