Changeset: dcc771333c4b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dcc771333c4b
Modified Files:
        clients/mapilib/connect.c
Branch: monetdburl
Log Message:

Suppress warning


diffs (12 lines):

diff --git a/clients/mapilib/connect.c b/clients/mapilib/connect.c
--- a/clients/mapilib/connect.c
+++ b/clients/mapilib/connect.c
@@ -885,7 +885,7 @@ mapi_handshake(Mapi mid)
        /* tell server about auto_complete and cache limit if handshake options 
weren't used */
        bool autocommit = msetting_bool(mid->settings, MP_AUTOCOMMIT);
        if (mid->handshake_options <= MAPI_HANDSHAKE_AUTOCOMMIT && autocommit 
!= msetting_bool(msettings_default, MP_AUTOCOMMIT)) {
-               char buf[2];
+               char buf[50];
                sprintf(buf, "%d", !!autocommit);
                MapiMsg result = mapi_Xcommand(mid, "auto_commit", buf);
                if (result != MOK)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to