Add ability to customize ssl mode settings #474
According to https://mariadb.com/kb/en/mysql_optionsv/ MariaDB supports TLS enforcing in its own way. So the idea behind this PR is to keep the same interface for MariaDB based clients, but behind the scenes handle it accordingly.(MariaDB gets its own args set, instead of ssl_mode dict supported by MySQL).
Codecov Report
Merging #475 (968a740) into main (24aaa72) will increase coverage by
1.67%. The diff coverage isn/a.
@@ Coverage Diff @@
## main #475 +/- ##
==========================================
+ Coverage 84.32% 86.00% +1.67%
==========================================
Files 6 6
Lines 555 550 -5
==========================================
+ Hits 468 473 +5
+ Misses 87 77 -10
| Impacted Files | Coverage Δ | |
|---|---|---|
| MySQLdb/__init__.py | 85.00% <0.00%> (ø) |
|
| MySQLdb/_exceptions.py | 100.00% <0.00%> (ø) |
|
| MySQLdb/connections.py | 86.71% <0.00%> (+5.46%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 24aaa72...968a740. Read the comment docs.
This pull request introduces 1 alert when merging d497312248a390106305605ff99f309407c7b167 into 24aaa72c1503fe35cb1d0584ad553b41d10ddb48 - view on LGTM.com
new alerts:
- 1 for Implicit function declaration
This pull request introduces 1 alert when merging 6cdf275f7ffaa7f6e61b259203efa72dcaef49d2 into 6979a47f2e0f444e988aeadb1fbfceaeb45fd3c3 - view on LGTM.com
new alerts:
- 1 for Implicit function declaration