Changeset: 53aae47a9483 for monetdb-ruby URL: https://dev.monetdb.org/hg/monetdb-ruby?cmd=changeset;node=53aae47a9483 Modified Files: lib/MonetDBConnection.rb Branch: default Log Message:
The MAPI protocol works in chunks of 8190 bytes. Thanks to Jeremy Norris for finding the bug and for suggesting a fix (although I used a different value). diffs (12 lines): diff --git a/lib/MonetDBConnection.rb b/lib/MonetDBConnection.rb --- a/lib/MonetDBConnection.rb +++ b/lib/MonetDBConnection.rb @@ -53,7 +53,7 @@ class MonetDBConnection @@HOUR = 3600 # maximum size (in bytes) for a monetdb message to be sent - @@MAX_MESSAGE_SIZE = 32766 + @@MAX_MESSAGE_SIZE = 8190 # endianness of a message sent to the server @@CLIENT_ENDIANNESS = "BIG" _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
