diff options
author | unknown <cmiller@zippy.cornsilk.net> | 2006-08-23 18:29:05 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.cornsilk.net> | 2006-08-23 18:29:05 -0400 |
commit | 336250e60d57c9eba11ce141f3dc02f5e916ec50 (patch) | |
tree | 1db8a2d66b979295a28648be61de2b6ebcfbf372 /sql/gen_lex_hash.cc | |
parent | f9832bf116b2525afa79267cfea6cd8360e418f6 (diff) | |
download | mariadb-git-336250e60d57c9eba11ce141f3dc02f5e916ec50.tar.gz |
String broken up to avoid silly MICROS~1 string-size limit.
BitKeeper/etc/ignore:
Added sql/f.c to the ignore list
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 89af0d30076..1a7710dba0d 100644 --- a/sql/gen_lex_hash.cc +++ b/sql/gen_lex_hash.cc @@ -473,8 +473,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\ @@ -505,7 +507,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\ |