summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-11-17 20:53:40 +0200
committerunknown <bell@sanja.is.com.ua>2003-11-17 20:53:40 +0200
commit79533975b1453a716dce3a4b3936740ee22d92d9 (patch)
treeed274b7466c7617feeb74030a1c60751ff018af5 /sql/mysql_priv.h
parent8fed6653de2c298704f9ee74f96f17184af46b45 (diff)
downloadmariadb-git-79533975b1453a716dce3a4b3936740ee22d92d9.tar.gz
fixed using 'uncachable' tag and RAND_TABLE_BIT setting
sql/item_create.cc: specify cause of uncachability sql/item_func.cc: specify cause of uncachability sql/item_subselect.cc: fixed setting RAND_TABLE_BIT specify cause of uncachability sql/item_subselect.h: used one field for all uncachability causes sql/mysql_priv.h: causes of uncachability sql/sql_lex.cc: specify cause of uncachability sql/sql_lex.h: used one field for all uncachability causes sql/sql_select.cc: used one field for all uncachability causes sql/sql_union.cc: used one field for all uncachability causes sql/sql_yacc.yy: specify cause of uncachability
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 71ad5ce67c2..53896a4a182 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -248,6 +248,11 @@ extern CHARSET_INFO *national_charset_info, *table_alias_charset;
#define MY_CHARSET_BIN_MB_MAXLEN 1
+// uncachable cause
+#define UNCACHEABLE_DEPENDENT 1
+#define UNCACHEABLE_RAND 2
+#define UNCACHEABLE_UNCACHEABLE 4
+
#ifdef EXTRA_DEBUG
/*
Sync points allow us to force the server to reach a certain line of code