File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -1064,7 +1064,7 @@ _mysql_escape_string(
1064
1064
if (self && PyModule_Check ((PyObject * )self ))
1065
1065
self = NULL ;
1066
1066
if (self && self -> open ) {
1067
- #if MYSQL_VERSION_ID >= 50706
1067
+ #if MYSQL_VERSION_ID >= 50707
1068
1068
len = mysql_real_escape_string_quote (& (self -> connection ), out , in , size , '\'' );
1069
1069
#else
1070
1070
len = mysql_real_escape_string (& (self -> connection ), out , in , size );
@@ -1122,7 +1122,7 @@ _mysql_string_literal(
1122
1122
out = PyBytes_AS_STRING (str );
1123
1123
check_server_init (NULL );
1124
1124
if (self && self -> open ) {
1125
- #if MYSQL_VERSION_ID >= 50706
1125
+ #if MYSQL_VERSION_ID >= 50707
1126
1126
len = mysql_real_escape_string_quote (& (self -> connection ), out + 1 , in , size , '\'' );
1127
1127
#else
1128
1128
len = mysql_real_escape_string (& (self -> connection ), out + 1 , in , size );
You can’t perform that action at this time.
0 commit comments