diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-12-13 10:59:59 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-12-13 10:59:59 -0700 |
commit | 320fa7123072c97adb69dbf799b7232f0d876b73 (patch) | |
tree | 92cd1e5eee7a556a0ea5529acc33685c74d3f042 /sql/sql_parse.cc | |
parent | 1f1719fe3003e4b49f461f7eb1b0d1e903752409 (diff) | |
download | mariadb-git-320fa7123072c97adb69dbf799b7232f0d876b73.tar.gz |
sql_parse.cc we were using wrong strdup
sql/sql_parse.cc:
we were using wrong strdup
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index d3177eae1ee..15cbf40f85d 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -739,7 +739,7 @@ bool do_command(THD *thd) kill_zombie_dump_threads(slave_server_id = uint4korr(packet+7)); thd->server_id = slave_server_id; pthread_mutex_unlock(&LOCK_server_id); - mysql_binlog_send(thd, strdup(packet + 11), pos, flags); + mysql_binlog_send(thd, thd->strdup(packet + 11), pos, flags); // fake COM_QUIT -- if we get here, the thread needs to terminate error = TRUE; net->error = 0; |