Skip to content
Snippets Groups Projects
Commit c20760d9 authored by Pavel's avatar Pavel
Browse files

Converting "NULL" values to nil in results

Changed max_message_size to 8192 to (hopefully) avoid broken pipe errors
parent 1d7f2673
No related branches found
No related tags found
No related merge requests found
......@@ -516,6 +516,7 @@ module ActiveRecord
fields.each do |f|
cols = hdl.fetch_column_name(f)
cols.each_with_index do |val, i|
val = nil if val == 'NULL'
result[i][f] = val
end
end
......
......@@ -65,7 +65,7 @@ class MonetDBConnection
@@HOUR = 3600
# maximum size (in bytes) for a monetdb message to be sent
@@MAX_MESSAGE_SIZE = 32766
@@MAX_MESSAGE_SIZE = 8192
# endianness of a message sent to the server
@@CLIENT_ENDIANNESS = "BIG"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment