diff options
author | unknown <jimw@mysql.com> | 2005-04-04 18:26:39 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-04-04 18:26:39 -0700 |
commit | fe02ce98aff518eb31f9b69764b42c91fd79b57d (patch) | |
tree | ecbb322a2b8879e277f89812056ec140c0984690 /client | |
parent | a1112ca0563313c8274c9dc2eda6f734ea06da1a (diff) | |
parent | 92db4a838f9198ab0924b8b876b5991bfe00e8d9 (diff) | |
download | mariadb-git-fe02ce98aff518eb31f9b69764b42c91fd79b57d.tar.gz |
Merge mysql.com:/home/jimw/my/mysql-4.1-8866
into mysql.com:/home/jimw/my/mysql-4.1-clean
client/mysqltest.c:
Auto merged
sql-common/client.c:
Auto merged
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 2e939af2f13..1fbff236293 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -280,6 +280,7 @@ Q_DISPLAY_VERTICAL_RESULTS, Q_DISPLAY_HORIZONTAL_RESULTS, Q_QUERY_VERTICAL, Q_QUERY_HORIZONTAL, Q_START_TIMER, Q_END_TIMER, Q_CHARACTER_SET, Q_DISABLE_PS_PROTOCOL, Q_ENABLE_PS_PROTOCOL, +Q_DISABLE_RECONNECT, Q_ENABLE_RECONNECT, Q_UNKNOWN, /* Unknown command. */ Q_COMMENT, /* Comments, ignored. */ @@ -365,6 +366,8 @@ const char *command_names[]= "character_set", "disable_ps_protocol", "enable_ps_protocol", + "disable_reconnect", + "enable_reconnect", 0 }; @@ -3624,6 +3627,12 @@ int main(int argc, char **argv) case Q_ENABLE_PS_PROTOCOL: ps_protocol_enabled= ps_protocol; break; + case Q_DISABLE_RECONNECT: + cur_con->mysql.reconnect= 0; + break; + case Q_ENABLE_RECONNECT: + cur_con->mysql.reconnect= 1; + break; default: processed = 0; break; } |