mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00

Found a work-around for the way MySQL treats TIME literals with dates and/or fractional seconds. Added a mutex into the cursor so that connections can be shared between threads. threadsafety=2 I could easily make the cursors sharable as well (threadsafety=3) but I hardly see the point. Even sharing connections is not a good idea, because you don't get the benefit of multiple mysqld threads.
Languages
Python
64.1%
C
35.8%
Makefile
0.1%