Changeset: b154fc7cf6f3 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b154fc7cf6f3
Modified Files:
        clients/mapiclient/mclient.c
Branch: default
Log Message:

Make more restrict assertion. Allow debug builds to create more than 100 
queries in a single client session outside the TestWeb


diffs (12 lines):

diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -2890,7 +2890,7 @@ doFile(Mapi mid, stream *fp, bool useins
 
                if (mapi_get_querytype(hdl) == Q_PREPARE) {
                        prepno = mapi_get_tableid(hdl);
-                       assert(prepno < 100);
+                       assert(mode != SQL || formatter != TESTformatter || 
prepno < 100); /* prepno is used only at the TestWeb */
                }
 
                rc = format_result(mid, hdl, interactive || echoquery);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to