Changeset: e23d2a8824cc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e23d2a8824cc
Modified Files:
        sql/backends/monet5/sql_scenario.c
Branch: default
Log Message:

Workaround for failing server restart tests. Check for existence of a schema 
instead of a trigger


diffs (16 lines):

diff --git a/sql/backends/monet5/sql_scenario.c 
b/sql/backends/monet5/sql_scenario.c
--- a/sql/backends/monet5/sql_scenario.c
+++ b/sql/backends/monet5/sql_scenario.c
@@ -474,9 +474,9 @@ SQLinit(Client c)
                 * if it doesn't, this is probably a restart of the
                 * server after an incomplete initialization */
                if ((msg = SQLtrans(m)) == MAL_SUCCEED) {
-                       sql_schema *s = mvc_bind_schema(m, "sys");
-                       sql_trigger *tri = s ? mvc_bind_trigger(m, s, 
"system_update_tables") : NULL;
-                       if (tri == NULL)
+                       /* TODO there's a going issue with loading triggers due 
to system tables,
+                          so at the moment check for existence of 'logging' 
schema from 81_tracer.sql */
+                       if (!mvc_bind_schema(m, "logging"))
                                store->first = 1;
                        msg = mvc_rollback(m, 0, NULL, false);
                }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to