diff options
author | unknown <cmiller@zippy.cornsilk.net> | 2006-08-23 18:37:04 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.cornsilk.net> | 2006-08-23 18:37:04 -0400 |
commit | 1f49670a2ec222f27883460aa1aab656d69cfbe7 (patch) | |
tree | 3cee46d796e50e973931d8443be220d3cd6f2e36 /sql/gen_lex_hash.cc | |
parent | df4cbda0437b572ae151331cf4a1dda1b8f85d5e (diff) | |
parent | 336250e60d57c9eba11ce141f3dc02f5e916ec50 (diff) | |
download | mariadb-git-1f49670a2ec222f27883460aa1aab656d69cfbe7.tar.gz |
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0-maint-gca
into zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0-maint
BitKeeper/etc/ignore:
auto-union
sql/gen_lex_hash.cc:
Auto merged
Diffstat (limited to 'sql/gen_lex_hash.cc')
-rw-r--r-- | sql/gen_lex_hash.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sql/gen_lex_hash.cc b/sql/gen_lex_hash.cc index b110120bdf5..5a8bd48d699 100644 --- a/sql/gen_lex_hash.cc +++ b/sql/gen_lex_hash.cc @@ -476,8 +476,10 @@ static inline SYMBOL *get_hash_symbol(const char *s,\n\ if (len == 0) {\n\ DBUG_PRINT(\"warning\", (\"get_hash_symbol() received a request for a zero-length symbol, which is probably a mistake.\"));\ return(NULL);\n\ - }\ -\n\ + }\n" +); + + printf("\ if (function){\n\ if (len>sql_functions_max_len) return 0;\n\ hash_map= sql_functions_map;\n\ @@ -508,7 +510,10 @@ static inline SYMBOL *get_hash_symbol(const char *s,\n\ cur_struct= uint4korr(hash_map+\n\ (((uint16)cur_struct + cur_char - first_char)*4));\n\ cur_str++;\n\ - }\n\ + }\n" +); + + printf("\ }else{\n\ if (len>symbols_max_len) return 0;\n\ hash_map= symbols_map;\n\ |