Changeset: 35f06082783f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=35f06082783f
Modified Files:
        sql/backends/monet5/sql.c
Branch: default
Log Message:

Reinstate quotes in error message.


diffs (12 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -542,7 +542,7 @@ setVariable(Client cntxt, MalBlkPtr mb, 
                str newopt = *getArgReference_str(stk, pci, 3);
                if (newopt) {
                        if (!isOptimizerPipe(newopt) && strchr(newopt, (int) 
';') == 0) {
-                               throw(SQL, "sql.setVariable", SQLSTATE(42100) 
"optimizer %s unknown", newopt);
+                               throw(SQL, "sql.setVariable", SQLSTATE(42100) 
"optimizer '%s' unknown", newopt);
                        }
                        snprintf(buf, BUFSIZ, "user_%d", cntxt->idx);
                        if (!isOptimizerPipe(newopt) || strcmp(buf, newopt) == 
0) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to