summaryrefslogtreecommitdiff
path: root/tests/insert_test.c
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2004-12-09 14:44:10 +0100
committerguilhem@mysql.com <>2004-12-09 14:44:10 +0100
commit1cbc904c596d624232249ac67c83dabe21e1eacb (patch)
treeeaf6f2f2b65c091f3dbda162d6f00154f6680a14 /tests/insert_test.c
parent2bf9291b0c5a1776e73a7313232ddcb5086e601b (diff)
downloadmariadb-git-1cbc904c596d624232249ac67c83dabe21e1eacb.tar.gz
Changing the default of libmysqlclient : it's now NO reconnection.
All our programs which use mysql_real_connect() and mysql_connect() are updated accordingly, though I have deliberately made mysqlimport not reconnect anymore (already true for mysqldump >= 4.1.8). All Connector devs have been warned about the change I'm doing here - which was agreed with Monty, and fixes BUG#2555.
Diffstat (limited to 'tests/insert_test.c')
-rw-r--r--tests/insert_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/insert_test.c b/tests/insert_test.c
index 052c12bfdf0..2b659e9eecb 100644
--- a/tests/insert_test.c
+++ b/tests/insert_test.c
@@ -40,6 +40,7 @@ int main(int argc, char **argv)
perror("");
exit(1);
}
+ mysql.reconnect= 1;
num = atoi(argv[2]);
count = 0;