summaryrefslogtreecommitdiff
path: root/sql/sql_servers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_servers.cc')
-rw-r--r--sql/sql_servers.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_servers.cc b/sql/sql_servers.cc
index 5fa97dc5c2b..9a5176d9fe3 100644
--- a/sql/sql_servers.cc
+++ b/sql/sql_servers.cc
@@ -545,6 +545,8 @@ int insert_server_record(TABLE *table, FOREIGN_SERVER *server)
DBUG_ENTER("insert_server_record");
table->use_all_columns();
+ empty_record(table);
+
/* set the field that's the PK to the value we're looking for */
table->field[0]->store(server->server_name,
server->server_name_length,