Commit Graph

5 Commits

Author SHA1 Message Date
9508904911 Exceptions: ER_BAD_FIELD_ERROR - wrong exception
ER_BAD_FIELD_ERROR (1054) was not handled and therefore
returned as OperationalError instead of ProgrammingError.
2025-01-30 13:55:34 +01:00
8944cb889a Error handling fixes:
Instead of OperationalException and IntegrityException will be raised
for the following eror types:
ER_BAD_NULL_ERROR, ER_DATA_OUT_OF_RANGE, ER_CONSTRAINT_FAILED, ER_DUP_CONSTRAINT_NAME
2020-10-04 11:35:40 +02:00
30d5793959 Followup for fix for CONPY-106
Added better handling for client errors (InterfaceError)
2020-08-14 16:38:19 +02:00
e091edd549 Fix for CONPY-106
Check error number instead of SQL code for determine exception type.
2020-08-14 14:44:05 +02:00
29b05e3b09 Various fixes and changes for SQLAlchemy support:
- added a thin python wrapper around mariadb module
- added constansts under mariadb.constants (CLIENT, CURSOR, INDICATOR)
- bench and test are now in testing subdirectory
- updated documentation
2020-07-24 12:13:31 +02:00