Commit Graph

24 Commits

Author SHA1 Message Date
f96cbe2759 Travis build fixes:
- Skip MySQL batch tests
- Fix travis on windows
2024-10-01 15:55:33 +02:00
1d700addae Fix for CONPY-226:
Replaced deprecated call to distutils.version.StrictVersion by
packaging.version.Version
2022-10-09 15:05:31 +02:00
cdd42743cc Coding style fixes (PEP8)
Fixed various coding style stuff detected by flake8.
Added .pre-commit-config.yaml:
With command pre_commit install a hook for flake8 will be
installed.
2022-08-07 16:47:26 +02:00
a839827f59 CONPY-189: Windows build fix for Visual Studio 2022
- Build parameters are now written to config_win.h instead of passing
  them as command line parameters
- Fixed several compiler warnings
2021-12-21 08:21:04 +01:00
c8a9f50712 Updated required minimum version
of Connector&C (3.2.4)
2021-07-12 10:52:02 +02:00
16a3882cb0 Add secur32 and bcrypt for windows static linking (schannel) 2020-08-16 17:38:20 +02:00
b4a30ba29b Fixed version checking for Connector/C:
Use StrictVersion() from distutils instead of using the parse function
from packaging module
2020-07-22 19:05:54 +02:00
c6ad169f87 Fix for CONPY-85:
Version checking in setup fails with 2 digit minor or patch version number.
Instead of comparing version numers directly we need to parse them before
using packaging.version.parse().
2020-07-15 13:28:33 +02:00
7142bedc62 Fix for CONPY-66:
fixed typo in setup configuration for windows, which caused to link
dynamically against MySQL Connector/C.
2020-05-14 14:24:32 +02:00
5334ddefa7 Fixed typo 2020-05-06 05:23:09 +02:00
0a05581075 Added option "default" for link_static. By default Windows builds are
linked statically, while Posix builds use MariaDB Connector/C shared library.
2020-04-15 06:11:12 +02:00
ad07e971b8 Build fixes 2019-12-18 15:10:54 +01:00
8bf252408c [misc] set plugin path at compile time
- connection plugin_dir possible parameter
- correction for error occurring in connection initialization
2019-12-04 10:43:12 +01:00
3b02464b63 Fixes for class ConnectionPool()
- added mutexes for thread safety
- when calling get_connection thread pool will now not return the next
  free connection, but the connection that was not used the longest time.
2019-12-01 05:47:19 +01:00
fd4e4a99e6 Reverted a previous change where we removed env var and registry checks 2019-11-29 10:02:03 +01:00
a160152903 Windows build fixes: configuration is now stored in site.cfg 2019-11-25 17:24:04 +01:00
c823d32524 Windows build fixes 2019-11-25 14:45:23 +01:00
3a872d6aaa Windows build fixes 2019-11-24 12:39:24 +01:00
628fc39cd0 Initial connection pool implementation 2019-11-24 12:45:32 +01:00
467df384ff Merge branch 'master' into rush_master
# Conflicts:
#	setup.py
2019-11-06 15:46:31 +01:00
11976139d4 [misc] python standard formatting 2019-11-06 15:13:56 +01:00
dd64af16db - Windows warning fixes
- Fixed key lookup (InstallDir) in setup.py
2019-11-06 07:18:06 +01:00
8d3068910c [misc] windows setup improvement
* Changing MARIADB_CC_DIR to MARIADB_CC_INSTALL_DIR according to error message
* handle non found key in registry
* searching C/C installation in registry version according to python type
* updating syntax to python recommendation
2019-11-04 16:04:19 +01:00
46dbfc3c11 Added missing windows configuration file 2019-08-29 12:07:01 +02:00