asyncer-io / r2dbc-mysql

Reactive Relational Database Connectivity for MySQL. The official successor to mirromutth/r2dbc-mysql(dev.miku:r2dbc-mysql).
https://r2dbc.io
Apache License 2.0
208 stars 21 forks source link

[WIP]Support `tinyInt1isBit` #282

Closed jchrys closed 3 months ago

jchrys commented 3 months ago

Motivation: Currently, the R2DBC MySQL connector does not support the tinyInt1isBit MySQL parameter.

Modifications: Updated the mapping of TINYINT(1) or BIT(1) values to boolean based on the tinyInt1isBit parameter.

Result: Properly supports the tinyInt1isBit parameter. Resolves #277

TODO

jchrys commented 3 months ago

Only signed tinyint(1) be treated as bit or boolean https://bugs.mysql.com/bug.php?id=100722