mariadb/pars
marko 095630bfed branches/zip: Relax the string type check of some built-in functions
of the InnoDB SQL parser.

pars_is_string_type(): New function.  Returns TRUE iff mtype equals
DATA_VARCHAR, DATA_CHAR, DATA_FIXBINARY, or DATA_BINARY.

pars_resolve_func_data_type(): Replace checks for DATA_VARCHAR with
pars_is_string_type().  For example, the NAME column of SYS_INDEXES,
SYS_TABLES, and SYS_COLUMNS is of DATA_BINARY type, although it
contains a UTF-8 character string.  This affects the functions
TO_NUMBER, BINARY_TO_NUMBER, LENGTH, INSTR, and SUBSTR.
2007-08-29 09:54:11 +00:00
..
lexyy.c branches/zip: Merge revisions 1322:1402 from trunk. 2007-04-02 05:39:41 +00:00
make_flex.sh branches/zip: Merge revisions 265:459 from trunk. 2006-04-12 09:32:17 +00:00
pars0grm.c branches/zip: Merge branches/fast-index-creation -r1413. 2007-04-04 11:05:33 +00:00
pars0grm.h branches/zip: Merge branches/fast-index-creation -r1413. 2007-04-04 11:05:33 +00:00
pars0grm.y branches/zip: Merge revisions 583:634 from trunk. 2006-06-13 20:23:26 +00:00
pars0lex.l branches/zip: Merge revisions 1322:1402 from trunk. 2007-04-02 05:39:41 +00:00
pars0opt.c branches/zip: Merge revisions 804:838 from trunk. 2006-09-19 10:14:07 +00:00
pars0pars.c branches/zip: Relax the string type check of some built-in functions 2007-08-29 09:54:11 +00:00
pars0sym.c branches/zip: Make merge sort handle externally stored columns. 2007-06-21 09:43:15 +00:00