Changeset: 92ffe21f3a79 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/92ffe21f3a79
Modified Files:
        clients/mapilib/mapi.c
Branch: Jan2022
Log Message:

Merge with Jul2021 branch + fix previous merge.


diffs (27 lines):

diff --git a/clients/mapilib/mapi.c b/clients/mapilib/mapi.c
--- a/clients/mapilib/mapi.c
+++ b/clients/mapilib/mapi.c
@@ -3450,6 +3450,7 @@ mapi_prepare(Mapi mid, const char *cmd)
                                hdl->query = NULL;              \
                                return;                         \
                        }                                       \
+                       hdl->query = q;                         \
                }                                               \
        } while (0)
 
@@ -3591,6 +3592,7 @@ mapi_param_store(MapiHdl hdl)
                                                free(val);
                                                return;
                                        }
+                                       hdl->query = q;
                                }
                                snprintf(hdl->query + k, lim - k, "'%s'", val);
                                free(val);
@@ -3607,6 +3609,7 @@ mapi_param_store(MapiHdl hdl)
                                                free(val);
                                                return;
                                        }
+                                       hdl->query = q;
                                }
                                snprintf(hdl->query + k, lim - k, "'%s'", val);
                                free(val);
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to