Changeset: 49378654049f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/49378654049f
Modified Files:
        sql/backends/monet5/sql_upgrades.c
Branch: extract_types
Log Message:

Increase buffer size to accomodate the new query.


diffs (12 lines):

diff --git a/sql/backends/monet5/sql_upgrades.c 
b/sql/backends/monet5/sql_upgrades.c
--- a/sql/backends/monet5/sql_upgrades.c
+++ b/sql/backends/monet5/sql_upgrades.c
@@ -178,7 +178,7 @@ check_sys_tables(Client c, mvc *m, sql_s
                if (f == NULL)
                        throw(SQL, __func__, "cannot find procedure 
sys.%s(%s)", tests[i].name, tests[i].type ? tests[i].type : "");
                sqlid id = f->func->base.id;
-               char buf[128];
+               char buf[256];
                snprintf(buf, sizeof(buf), "select id from sys.functions where 
name = '%s' and func = '%s' and schema_id = 2000;\n", tests[i].name, 
tests[i].func);
                res_table *output = NULL;
                char *err = SQLstatementIntern(c, buf, "update", true, false, 
&output);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to