diff options
author | unknown <bell@sanja.is.com.ua> | 2003-11-03 12:28:36 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-11-03 12:28:36 +0200 |
commit | ef163ff0fc200c8c647b48e1390d187ebffed2ba (patch) | |
tree | 9fcd3368f411e3ebf81bd5b0e3aa64c0f430970f /sql/mysql_priv.h | |
parent | 22c9da4dee3f5c7b1f780aa47f1a361191e51487 (diff) | |
download | mariadb-git-ef163ff0fc200c8c647b48e1390d187ebffed2ba.tar.gz |
after review fix
mysql-test/r/func_str.result:
new results
sql/item.cc:
charset changed
printing string moved to String
sql/item_cmpfunc.cc:
new comparation class builder to avoid long switch
new print_agrs used
sql/item_cmpfunc.h:
new comparation class builder to avoid long switch
sql/item_func.cc:
new print_agrs
sql/item_func.h:
new print_agrs
sql/item_strfunc.cc:
new print_agrs
sql/item_subselect.cc:
new comparation class builder to avoid long switch
sql/item_subselect.h:
new comparation class builder to avoid long switch
sql/item_timefunc.cc:
charset changed
sql/mysql_priv.h:
new comparation class builder to avoid long switch
sql/mysqld.cc:
new comparation class builder to avoid long switch
sql/sql_parse.cc:
new comparation class builder to avoid long switch
sql/sql_string.cc:
string printing moved to String class
sql/sql_string.h:
string printing moved to String class
sql/sql_yacc.yy:
birect class creation where it is possible
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r-- | sql/mysql_priv.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h index 72cfd6ee56e..f71fca29f56 100644 --- a/sql/mysql_priv.h +++ b/sql/mysql_priv.h @@ -338,7 +338,7 @@ inline THD *_current_thd(void) #include "protocol.h" #include "sql_udf.h" #include "item.h" -typedef compare_func_creator (*chooser_compare_func_creator)(bool invert); +typedef Comp_creator* (*chooser_compare_func_creator)(bool invert); #include "sql_class.h" #include "opt_range.h" @@ -770,6 +770,12 @@ extern const char *first_keyword, *my_localhost, *delayed_user, *binary_keyword; extern const char **errmesg; /* Error messages */ extern const char *myisam_recover_options_str; extern const char *in_left_expr_name, *in_additional_cond; +extern Eq_creator eq_creator; +extern Ne_creator ne_creator; +extern Gt_creator gt_creator; +extern Lt_creator lt_creator; +extern Ge_creator ge_creator; +extern Le_creator le_creator; extern uchar *days_in_month; extern char language[LIBLEN],reg_ext[FN_EXTLEN]; extern char glob_hostname[FN_REFLEN], mysql_home[FN_REFLEN]; @@ -1059,12 +1065,12 @@ inline void table_case_convert(char * name, uint length) my_casedn(files_charset_info, name, length); } -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); +Comp_creator *comp_eq_creator(bool invert); +Comp_creator *comp_ge_creator(bool invert); +Comp_creator *comp_gt_creator(bool invert); +Comp_creator *comp_le_creator(bool invert); +Comp_creator *comp_lt_creator(bool invert); +Comp_creator *comp_ne_creator(bool invert); Item * all_any_subquery_creator(Item *left_expr, chooser_compare_func_creator cmp, |