Commit Graph

3 Commits

Author SHA1 Message Date
6eb67283df fix: use timedelta instead of time to cast TIME column in B compatibility mode(#IAIE7I)
In mysql compatibility mode, we should convert the TIME column to a python datetime.timedelta type,
just like the behavior of PyMySQL and mysql-connector-python.

See also:
- PyMySQL: 95635f587b/pymysql/converters.py (L344)
- mysql-connector-python: 59817f3de4/mysql-connector-python/lib/mysql/connector/conversion.py (L593)
2024-09-04 15:49:24 +08:00
12b2823c32 fix:convert empty string to NULL in A compatibility mode 2023-09-25 15:41:38 +08:00
3553ed0e30 first commit based on psycopg2 2.9 version 2021-07-05 21:34:17 +08:00