Commit f1a5f5e
On Windows do not take WINAPI HANDLE of non-socket connections
MariaDB and MySQL client libraries on Windows return zero value in
my_socket type when connection to server is not of socket type.
Zero value may be interpreted as file descriptor for stdin, so skip
processing of the zero value in socket related functions.1 parent 78f031b commit f1a5f5e
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1401 | 1401 | | |
1402 | 1402 | | |
1403 | 1403 | | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
1404 | 1408 | | |
1405 | 1409 | | |
1406 | 1410 | | |
| |||
2413 | 2417 | | |
2414 | 2418 | | |
2415 | 2419 | | |
| 2420 | + | |
2416 | 2421 | | |
2417 | 2422 | | |
2418 | 2423 | | |
2419 | 2424 | | |
2420 | 2425 | | |
2421 | | - | |
| 2426 | + | |
2422 | 2427 | | |
2423 | 2428 | | |
2424 | 2429 | | |
2425 | 2430 | | |
2426 | 2431 | | |
| 2432 | + | |
2427 | 2433 | | |
2428 | 2434 | | |
2429 | 2435 | | |
| |||
0 commit comments