Changeset: f48e4231e0e4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f48e4231e0e4
Modified Files:
        clients/mapilib/mapi.c
Branch: protocol
Log Message:

bypass seek_row


diffs (22 lines):

diff --git a/clients/mapilib/mapi.c b/clients/mapilib/mapi.c
--- a/clients/mapilib/mapi.c
+++ b/clients/mapilib/mapi.c
@@ -2637,7 +2637,6 @@ mapi_reconnect(Mapi mid)
                        *hash = '\0';
                        rest = hash + 1;
                }
-
 #ifdef HAVE_LIBSNAPPY
                if (strstr(hashes, "PROT10COMPR")) {
                        // both server and client support compressed protocol 
10; use compressed version 
@@ -4876,7 +4875,9 @@ MapiMsg
 mapi_seek_row(MapiHdl hdl, mapi_int64 rownr, int whence)
 {
        struct MapiResultSet *result;
-
+       if (hdl->mid->protocol != prot9) {
+               return 0;
+       }
        mapi_hdl_check(hdl, "mapi_seek_row");
        result = hdl->result;
        switch (whence) {
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to