From 0e06aec874826922bffa5128c6050d9a5a32a99b Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 1 Jun 2002 21:37:29 +0300 Subject: [PATCH] fix for a multi-table delete bug when optimiser used only indices --- sql/sql_parse.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 3f2d4808cbe..90f0f2afa58 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1960,6 +1960,7 @@ mysql_execute_command(void) } auxi->lock_type=walk->lock_type=TL_WRITE; auxi->table= (TABLE *) walk; // Remember corresponding table + (void)add_item_to_list(new Item_field(auxi->db,auxi->real_name,"*")); } tables->grant.want_privilege=(SELECT_ACL & ~tables->grant.privilege); if (add_item_to_list(new Item_null()))