From f8f0b703808f19b788b57c8c35c9aa0147b48b7f Mon Sep 17 00:00:00 2001 From: "hf@genie.(none)" <> Date: Mon, 31 Mar 2003 13:39:46 +0500 Subject: SCRUM two KILL commands implementation (version 2) --- sql/records.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/records.cc') diff --git a/sql/records.cc b/sql/records.cc index 22c4d54550c..38904fa405f 100644 --- a/sql/records.cc +++ b/sql/records.cc @@ -154,7 +154,7 @@ static int rr_sequential(READ_RECORD *info) { if (info->thd->killed) { - my_error(ER_SERVER_SHUTDOWN,MYF(0)); + my_error(info->thd->killed,MYF(0)); return 1; } if (tmp != HA_ERR_RECORD_DELETED) -- cgit v1.2.1 From 0428d08606269faf5eddd5740b5f9e80abfacbe4 Mon Sep 17 00:00:00 2001 From: "hf@deer.mysql.r18.ru" <> Date: Tue, 8 Apr 2003 19:18:33 +0500 Subject: SCRUM two KILL versions code trimming with headquarter's suggestions --- sql/records.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/records.cc') diff --git a/sql/records.cc b/sql/records.cc index 38904fa405f..2efd331b048 100644 --- a/sql/records.cc +++ b/sql/records.cc @@ -154,7 +154,7 @@ static int rr_sequential(READ_RECORD *info) { if (info->thd->killed) { - my_error(info->thd->killed,MYF(0)); + info->thd->send_kill_message(); return 1; } if (tmp != HA_ERR_RECORD_DELETED) -- cgit v1.2.1