Created attachment 54417 [details]
when i connect base with mysql (native mysql extension),
I get an error after inserting a value > 127 to an unsigned tinyint field. (attached screenshot).
The error pops up after table refresh.
AFAIK this behaviour is due to an old OOo bug in the underlying SQL parser code which I am unable to fix, it is not directly related to the connector as such.
If you try the same thing with an ODBC, you should notice the same error. I don't know whether the JDBC connector does the same thing (from my recollection, it does, but I'm not 100% certain about that).
So, not a bug in the connector, I think. You might want to open a bug report in general about not being able to set TINYINT UNSIGNED when using any mysql connection instead.
In order for the bug report to be made generally, you would need to test with other connection types : JDBC, ODBC.
If I get the time, I'll try and find the original OpenOffice.org bug that was referenced.
It would seem that this bug has resurfaced :
This was stated to be fixed in 2004, but apparently has come back to haunt us.
Closing. A separate report should be opened against the LO database component without reference to the connector, as this is only the vehicle by which the bug becomes apparent, and not the culprit (at least, so it seems).
See also, however, an underlying bug in the mysql engine code :
I have no idea whether this actually got fixed or not, so it may well be dependent on the version of mysql server that is being used.
Also see this old bug report (this was with an ODBC driver) :
indicate to indicate that the bug actually lies with mysql's client libraries. These are used when building the connector, so it appears to be an upstream problem.
Setting to NOTOURBUG, unless other information provided to the contrary.