https://bugs.documentfoundation.org/show_bug.cgi?id=118680

Jean-Pierre Ledure <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #6 from Jean-Pierre Ledure <[email protected]> ---
Access2Base checks the content of the Precision property
(https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1sdbcx_1_1Column.html#a20390f2d88c0849fd6cd9d115f502e3a)
of the com.sun.star.sdbcx.Column service to know the maximum allowed string
length and reports an overflow error if the maximum length is exceeded.

For VARCHAR fields the Precision property contains a non-zero value, typically
2^31), while it contains 0 for VARCHAR_IGNORECASE fields.

A patch has been pushed
(https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=7ea081d9f7938c59b1f71399bf32ce3fb738ad66)
on master to avoid a test on the field maximum length when the maximum length
is undefined (i.e. Precision = 0).

JPL

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to