summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-11-07 23:45:19 +0200
committerunknown <bell@sanja.is.com.ua>2002-11-07 23:45:19 +0200
commit6987b41456dff437195beb6b6974e48fd0fcf633 (patch)
treef918b416faff18d5c9fb85fcb42197aaacc0f5b9 /sql/mysql_priv.h
parent1799ae1e70bfbba7ce6fb0e720369f16109cebe1 (diff)
downloadmariadb-git-6987b41456dff437195beb6b6974e48fd0fcf633.tar.gz
ALL/ANY/SOME
decreasing number of rules in sql_yacc.yy to satisfy bison limitation fixed subselect Items initializer methods mysql-test/r/subselect.result: tests of ALL/ANY/SOME mysql-test/t/subselect.test: tests of ALL/ANY/SOME sql/item_cmpfunc.cc: ALL/ANY/SOME sql/item_cmpfunc.h: ALL/ANY/SOME sql/item_subselect.cc: ALL/ANY/SOME fixed subselect Items initializer methods sql/item_subselect.h: ALL/ANY/SOME fixed subselect Items initializer methods sql/lex.h: ALL/ANY/SOME sql/mysql_priv.h: decreasing number of rules in sql_yacc.yy to satisfy bison limitation sql/sql_parse.cc: decreasing number of rules in sql_yacc.yy to satisfy bison limitation sql/sql_yacc.yy: ALL/ANY/SOME decreasing number of rules in sql_yacc.yy to satisfy bison limitation
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index c61621bf91d..457dbe7a73d 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -263,6 +263,7 @@ inline THD *_current_thd(void)
#include "field.h" /* Field definitions */
#include "sql_udf.h"
#include "item.h"
+typedef compare_func_creator (*chooser_compare_func_creator)(bool invert);
#include "sql_class.h"
#include "opt_range.h"
@@ -867,3 +868,11 @@ inline void mark_as_null_row(TABLE *table)
table->status|=STATUS_NULL_ROW;
bfill(table->null_flags,table->null_bytes,255);
}
+
+compare_func_creator comp_eq_creator(bool invert);
+compare_func_creator comp_ge_creator(bool invert);
+compare_func_creator comp_gt_creator(bool invert);
+compare_func_creator comp_le_creator(bool invert);
+compare_func_creator comp_lt_creator(bool invert);
+compare_func_creator comp_ne_creator(bool invert);
+