aboutsummaryrefslogtreecommitdiff
path: root/gn_libs/mysqldb.py
AgeCommit message (Collapse)Author
2024-12-09Parse SSL options for the connection string.Frederick Muriuki Muriithi
2024-12-09Fix check for non-negative integers.Frederick Muriuki Muriithi
2024-12-09Parse for SSL_MODE option values from a list of acceptable values.Frederick Muriuki Muriithi
2024-12-09Check for non-negative integers.Frederick Muriuki Muriithi
2024-12-09Parse a larger pool of possible boolean valuesFrederick Muriuki Muriithi
When a key is supposed to have a boolean value, parse the value from a larger pool of both true and false values.
2024-12-09Add an Exception for invalid option values.Frederick Muriuki Muriithi
2024-12-06Move the commit() call to the success pathFrederick Muriuki Muriithi
The `finally` clause gets run whether or not the try succeeds. It only makes sense to run the commit on success, so we move it into the try, just after yielding the connection.
2024-11-22Import missing symbol.Frederick Muriuki Muriithi
2024-11-22Provide a means to debug queries that have been run.Frederick Muriuki Muriithi
It is sometimes necessary, when debugging, to see what query was actually run, in order to make sense of, and fix failures. This commit provides a means to see what the actual query that was run look(s/ed) like.
2024-11-21Add mysqldb moduleFrederick Muriuki Muriithi
This contains common code to connect to MariaDB with Python's mysqlclient library.