diff options
author | monty@donna.mysql.com <> | 2000-11-27 02:28:41 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-11-27 02:28:41 +0200 |
commit | dc5e32ea40b435c13cb2d9c03e465743aff14b51 (patch) | |
tree | edb54aec005b494e1195e3b4c62ef7b81153a705 /libmysql | |
parent | 8e3322098ac94687ab13aec1a09e8ed2ce93ef9c (diff) | |
download | mariadb-git-dc5e32ea40b435c13cb2d9c03e465743aff14b51.tar.gz |
Added connect_timeout and fix for transactions per statement
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index b7afcf8a25c..37e656edb96 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -686,6 +686,7 @@ static const char *default_options[]= "init-command", "host", "database", "debug", "return-found-rows", "ssl-key" ,"ssl-cert" ,"ssl-ca" ,"ssl-capath", "character-set-dir", "default-character-set", "interactive-timeout", + "connect_timeout", NullS }; @@ -745,6 +746,7 @@ static void mysql_read_default_options(struct st_mysql_options *options, case 5: /* pipe */ options->named_pipe=1; /* Force named pipe */ break; + case 20: /* connect_timeout */ case 6: /* timeout */ if (opt_arg) options->connect_timeout=atoi(opt_arg); |