Changeset: 4108b9677d4c for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4108b9677d4c Modified Files: clients/odbc/driver/ODBCUtil.c Branch: Jan2014 Log Message:
Accept _ in function name. diffs (21 lines): diff --git a/clients/odbc/driver/ODBCUtil.c b/clients/odbc/driver/ODBCUtil.c --- a/clients/odbc/driver/ODBCUtil.c +++ b/clients/odbc/driver/ODBCUtil.c @@ -565,7 +565,7 @@ ODBCTranslateSQL(ODBCDbc *dbc, const SQL while (*p == ' ') p++; proc = p; - while (*p && isascii(*p) && isalnum(*p)) + while (*p && isascii(*p) && (*p == '_' || isalnum(*p))) p++; if (p == proc || (isascii(*proc) && !isalpha(*proc))) @@ -619,7 +619,7 @@ ODBCTranslateSQL(ODBCDbc *dbc, const SQL while (*p == ' ') p++; scalarfunc = p; - while (*p && isascii(*p) && isalnum(*p)) + while (*p && isascii(*p) && (*p == '_' || isalnum(*p))) p++; if (p == scalarfunc || (isascii(*scalarfunc) && !isalpha(*scalarfunc))) _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list