diff options
author | unknown <sanja@askmonty.org> | 2013-10-03 18:00:44 +0300 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2013-10-03 18:00:44 +0300 |
commit | c776f5ac2614e24e64dd06f488ee29716f056c95 (patch) | |
tree | 54a20fcc5ac312f150bbb2b942246931b3ecc495 /client/mysqlbinlog.cc | |
parent | dd7339676b2a57e71f41075919ffca99bd1be937 (diff) | |
download | mariadb-git-c776f5ac2614e24e64dd06f488ee29716f056c95.tar.gz |
Client attributes
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 4f6475ef95f..ad38f4d39c5 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -1745,6 +1745,9 @@ static Exit_status safe_connect() mysql_options(mysql, MYSQL_SHARED_MEMORY_BASE_NAME, shared_memory_base_name); #endif + mysql_options(mysql, MYSQL_OPT_CONNECT_ATTR_RESET, 0); + mysql_options4(mysql, MYSQL_OPT_CONNECT_ATTR_ADD, + "program_name", "mysqlbinlog"); if (!mysql_real_connect(mysql, host, user, pass, 0, port, sock, 0)) { error("Failed on connect: %s", mysql_error(mysql)); |