mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 02:54:29 +08:00
Add note about annoying MySQL Connector bug. (#212)
This commit is contained in:

committed by
INADA Naoki

parent
b948553229
commit
d65e10e356
@ -9,6 +9,8 @@ except ImportError:
|
||||
# of mysql_config
|
||||
|
||||
def dequote(s):
|
||||
if not s:
|
||||
raise Exception("Wrong MySQL configuration: maybe https://bugs.mysql.com/bug.php?id=86971 ?")
|
||||
if s[0] in "\"'" and s[0] == s[-1]:
|
||||
s = s[1:-1]
|
||||
return s
|
||||
|
Reference in New Issue
Block a user