Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Windows , MariaDB Client library for C - Rev 110
Description
SELECT fails with "Got packet bigger than 'max_allowed_packet'" on a table with longblob column with field greater than 17MB.
max_allowed_packet = 50MB in the server. The same query runs successfully using MySQL C connector.
In mthd_my_read_query_result() , net_safe_read() returns -1 after setting error 2020.
MySQL docs at http://dev.mysql.com/doc/refman/5.0/en/c-api.html states "The default maximum built into the client library is 1GB". We did not have to set client max_allowed_packet explicitly when working with Oracle's API. Do we need to set it explicitly with MariaDB API?