diff options
author | unknown <bell@sanja.is.com.ua> | 2004-04-04 03:05:44 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-04-04 03:05:44 +0300 |
commit | 3c01162f0e642d535ec5a8912f77f9f4a96ad8d9 (patch) | |
tree | 7c7fbcd5178ca13f005320968ebff647edb2f13f /sql/log_event.cc | |
parent | e65aed9cbd61f5fc3c7cd396d60a9d6cb1d9b218 (diff) | |
download | mariadb-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/log_event.cc')
-rw-r--r-- | sql/log_event.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index 742cf6a1a82..cd0324a72ca 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -1698,6 +1698,7 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli, tables.alias = tables.real_name = (char*)table_name; tables.lock_type = TL_WRITE; tables.updating= 1; + tables.non_cachable_table= 1; // just safety for table on stack // the table will be opened in mysql_load if (table_rules_on && !tables_ok(thd, &tables)) { |