Skip to content

Commit 2032773

Browse files
committed
Reconnect is deprecated
1 parent ab8ce7e commit 2032773

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqllib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ sql_real_connect (MYSQL * sql, const char *host, const char *user, const char *p
126126
if (fn != mycnf)
127127
free (fn);
128128
}
129-
_Bool reconnect = 1;
130-
sql_options (sql, MYSQL_OPT_RECONNECT, &reconnect);
129+
//_Bool reconnect = 1;
130+
//sql_options (sql, MYSQL_OPT_RECONNECT, &reconnect);
131131
int allow = 1;
132132
sql_options (sql, MYSQL_OPT_LOCAL_INFILE, &allow); // Was previously allowed
133133
if (host && (!*host || !strcasecmp (host, "localhost")))

0 commit comments

Comments
 (0)