Changeset: b05a87bf4a31 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b05a87bf4a31
Modified Files:
clients/odbc/driver/ODBCUtil.c
Branch: Apr2019
Log Message:
The parser does not accept the double quotes around "position", so remove them.
diffs (12 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
@@ -382,7 +382,7 @@ static struct scalars {
{"now", 0, "sys.\"now\"()", },
{"octet_length", 1, "sys.\"octet_length\"(\1)", },
{"pi", 0, "sys.\"pi\"()", },
- {"position", 1, "\"position\"(\1)", }, /* includes " IN str" in first
argument. Note: POSITION is implemented in the parser. */
+ {"position", 1, "POSITION(\1)", }, /* includes " IN str" in first
argument. Note: POSITION is implemented in the parser. */
{"power", 2, "sys.\"power\"(\1,\2)", },
{"quarter", 1, "sys.\"quarter\"(\1)", },
{"radians", 1, "sys.\"radians\"(\1)", },
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list