Skip to content

Commit 0935d14

Browse files
committed
Revert "Merge pull request brianmario#254 from abrody/master"
This reverts commit 3ac7d82, reversing changes made to 5098c81.
1 parent 3c2af97 commit 0935d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysql2/client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ static VALUE rb_connect(VALUE self, VALUE user, VALUE pass, VALUE host, VALUE po
338338

339339
rv = (VALUE) rb_thread_call_without_gvl(nogvl_connect, &args, RUBY_UBF_IO, 0);
340340
if (rv == Qfalse) {
341-
while (rv == Qfalse && errno == EINTR && !mysql_errno(wrapper->client)) {
341+
while (rv == Qfalse && errno == EINTR) {
342342
errno = 0;
343343
rv = (VALUE) rb_thread_call_without_gvl(nogvl_connect, &args, RUBY_UBF_IO, 0);
344344
}

0 commit comments

Comments
 (0)