Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Cannot Reproduce
-
2.1.0, 2.4.0
-
MariaDB 10.4/10.2; Windows
Description
Hello,
there is a bug with ResultSet.wasNull after getting a timestamp column with the value '0000-00-00 00:00:00'.
All subsequent calls to ResultSet.wasNull will always return true.
This is a problem because we can't check if a ResultSet.getInt that returns 0 has the database value 0 or NULL.
In the attechment is a small use case test.