Changeset: 9b819a23dd74 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/9b819a23dd74 Modified Files: sql/backends/monet5/sql_scenario.c Branch: triggers Log Message:
small change to work around SQLinitClient being called for the authentication part. diffs (12 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 @@ -712,7 +712,7 @@ SQLinitClient(Client c) throw(SQL, "SQLinitClient", SQLSTATE(42000) "Catalogue not available"); } if ((msg = SQLprepareClient(c, true)) == MAL_SUCCEED) { - if (SQLexecPostLoginTriggers(c) < 0) { + if (c->usermodule && SQLexecPostLoginTriggers(c) < 0) { throw(SQL, "SQLinitClient", SQLSTATE(42000) "Failed to execute post login triggers"); } } _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org