You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem? 1.- Define a table containing a blob field
2.- Try to insert or update a row assigning that field data > 64kb What is the expected output? What do you see instead? It's expected that the field will contain the data assigned, just as it functions when the data < 64kb What version of the product are you using? On what operating system? Using web2py 2.5.1, fdb 1.4 Please provide any additional information below. This occurs because Firebird has a 64kb limit on the size of parameters. According to fdb documentation, a blob parameter has to be manipulated as a file-like object.
cur.execute("insert into blob_test values (?)", (StringIO('abcdef'),))
From r..._at_tarkus.mx on July 03, 2013 00:30:23
What steps will reproduce the problem? 1.- Define a table containing a blob field
2.- Try to insert or update a row assigning that field data > 64kb What is the expected output? What do you see instead? It's expected that the field will contain the data assigned, just as it functions when the data < 64kb What version of the product are you using? On what operating system? Using web2py 2.5.1, fdb 1.4 Please provide any additional information below. This occurs because Firebird has a 64kb limit on the size of parameters. According to fdb documentation, a blob parameter has to be manipulated as a file-like object.
cur.execute("insert into blob_test values (?)", (StringIO('abcdef'),))
Original issue: http://code.google.com/p/web2py/issues/detail?id=1571
The text was updated successfully, but these errors were encountered: