Commit ea169ff
committed
BUG#34950958: MySQL Python Connector doesn't work with ssh in the same process
BUG#34844347: Freezes on connection via sshtunnel
This patch fixes the issue where Connector/Python C-Extension does not
work with sshtunnel in the same process by adding missing mechanism in
the c-api codebase to release GIL while communicating with the MySQL
server.
Change-Id: I62b1ed87abb875eda6520ea7ac1199c0346ce0c41 parent 92e52d4 commit ea169ff
2 files changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
819 | 819 | | |
| 820 | + | |
820 | 821 | | |
821 | 822 | | |
822 | 823 | | |
| |||
1090 | 1091 | | |
1091 | 1092 | | |
1092 | 1093 | | |
| 1094 | + | |
1093 | 1095 | | |
| 1096 | + | |
1094 | 1097 | | |
1095 | 1098 | | |
1096 | 1099 | | |
| |||
1202 | 1205 | | |
1203 | 1206 | | |
1204 | 1207 | | |
| 1208 | + | |
1205 | 1209 | | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | 1210 | | |
1212 | 1211 | | |
1213 | 1212 | | |
| |||
1941 | 1940 | | |
1942 | 1941 | | |
1943 | 1942 | | |
| 1943 | + | |
1944 | 1944 | | |
| 1945 | + | |
1945 | 1946 | | |
1946 | 1947 | | |
1947 | 1948 | | |
| |||
2993 | 2994 | | |
2994 | 2995 | | |
2995 | 2996 | | |
| 2997 | + | |
2996 | 2998 | | |
2997 | 2999 | | |
2998 | 3000 | | |
| 3001 | + | |
2999 | 3002 | | |
3000 | 3003 | | |
3001 | 3004 | | |
| |||
3030 | 3033 | | |
3031 | 3034 | | |
3032 | 3035 | | |
| 3036 | + | |
3033 | 3037 | | |
| 3038 | + | |
3034 | 3039 | | |
3035 | 3040 | | |
3036 | 3041 | | |
| |||
0 commit comments