mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Client attributes
This commit is contained in:
@@ -362,6 +362,9 @@ int main(int argc, char **argv)
|
||||
if (opt_default_auth && *opt_default_auth)
|
||||
mysql_options(&mysql, MYSQL_DEFAULT_AUTH, opt_default_auth);
|
||||
|
||||
mysql_options(&mysql, MYSQL_OPT_CONNECT_ATTR_RESET, 0);
|
||||
mysql_options4(&mysql, MYSQL_OPT_CONNECT_ATTR_ADD,
|
||||
"program_name", "mysqlslap");
|
||||
if (!opt_only_print)
|
||||
{
|
||||
if (!(mysql_real_connect(&mysql, host, user, opt_password,
|
||||
|
Reference in New Issue
Block a user