mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Revert "MDEV-9293 Connector/C integration"
This reverts commit 7b89b9f510
.
This commit is contained in:
@@ -1086,7 +1086,6 @@ static void print_result()
|
||||
|
||||
static int dbConnect(char *host, char *user, char *passwd)
|
||||
{
|
||||
my_bool reconnect= 1;
|
||||
DBUG_ENTER("dbConnect");
|
||||
if (verbose > 1)
|
||||
{
|
||||
@@ -1125,7 +1124,7 @@ static int dbConnect(char *host, char *user, char *passwd)
|
||||
DBerror(&mysql_connection, "when trying to connect");
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
mysql_options(&mysql_connection, MYSQL_OPT_RECONNECT, &reconnect);
|
||||
mysql_connection.reconnect= 1;
|
||||
DBUG_RETURN(0);
|
||||
} /* dbConnect */
|
||||
|
||||
|
Reference in New Issue
Block a user