summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-04-04 03:05:44 +0300
committerunknown <bell@sanja.is.com.ua>2004-04-04 03:05:44 +0300
commit3c01162f0e642d535ec5a8912f77f9f4a96ad8d9 (patch)
tree7c7fbcd5178ca13f005320968ebff647edb2f13f /sql/sql_help.cc
parente65aed9cbd61f5fc3c7cd396d60a9d6cb1d9b218 (diff)
downloadmariadb-git-3c01162f0e642d535ec5a8912f77f9f4a96ad8d9.tar.gz
removed old way to prevent using stack tables for caching Items in PS
fixed error code in union test mysql-test/t/union.test: right code worr 4.1 error sql/log_event.cc: assign non-cachable for Item status for all stack tables for safety sql/repl_failsafe.cc: assign non-cachable for Item status for all stack tables for safety sql/slave.cc: assign non-cachable for Item status for all stack tables for safety sql/sql_acl.cc: assign non-cachable for Item status for all stack tables for safety sql/sql_base.cc: assign non-cachable for Item status for all stack tables for safety non-cachable status processing sql/sql_cache.cc: assign non-cachable for Item status for all stack tables for safety sql/sql_class.cc: removed ald way to prevent using stack tables for caching Items in PS sql/sql_class.h: removed old way to prevent using stack tables for caching Items in PS sql/sql_help.cc: assign non-cachable for Item status for all stack tables for safety sql/sql_insert.cc: assign non-cachable for Item status for all stack tables for safety removed old way to prevent using stack tables for caching Items in PS sql/table.h: non-cachable for Item status for tables
Diffstat (limited to 'sql/sql_help.cc')
-rw-r--r--sql/sql_help.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_help.cc b/sql/sql_help.cc
index 980ed4047f3..29dab51839d 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -659,20 +659,20 @@ int mysqld_help(THD *thd, const char *mask)
bzero((gptr)tables,sizeof(tables));
tables[0].alias= tables[0].real_name= (char*) "help_topic";
tables[0].lock_type= TL_READ;
- tables[0].db= (char*) "mysql";
tables[0].next= &tables[1];
tables[1].alias= tables[1].real_name= (char*) "help_category";
tables[1].lock_type= TL_READ;
- tables[1].db= (char*) "mysql";
tables[1].next= &tables[2];
tables[2].alias= tables[2].real_name= (char*) "help_relation";
tables[2].lock_type= TL_READ;
- tables[2].db= (char*) "mysql";
tables[2].next= &tables[3];
tables[3].alias= tables[3].real_name= (char*) "help_keyword";
tables[3].lock_type= TL_READ;
- tables[3].db= (char*) "mysql";
tables[3].next= 0;
+ tables[0].db= tables[1].db= tables[2].db= tables[3].db= (char*) "mysql";
+ // just safety for table on stack
+ tables[0].non_cachable_table= tables[1].non_cachable_table=
+ tables[2].non_cachable_table= tables[3].non_cachable_table= 1;
List<String> topics_list, categories_list, subcategories_list;
String name, description, example;