summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.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/repl_failsafe.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/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index 284444090bb..f8b0cf31621 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -736,6 +736,7 @@ static int fetch_db_tables(THD *thd, MYSQL *mysql, const char *db,
table.db= (char*) db;
table.real_name= (char*) table_name;
table.updating= 1;
+ table.non_cachable_table= 1; // just safety for table on stack
if (!tables_ok(thd, &table))
continue;
}