diff options
author | unknown <bar@mysql.com> | 2004-10-29 16:00:03 +0500 |
---|---|---|
committer | unknown <bar@mysql.com> | 2004-10-29 16:00:03 +0500 |
commit | a739f2d692093accfb5babf3df9008913fdf5d3f (patch) | |
tree | b66152e6af71b2839f39170b311d5e915b5937c6 /sql/item_func.h | |
parent | facda8f3ef9cbc7ca3aecd06c2477f8de27d166c (diff) | |
download | mariadb-git-a739f2d692093accfb5babf3df9008913fdf5d3f.tar.gz |
Allow to convert to non-Unicode charset when mixing a string
constant with a column. The string is converted into the column
character set. It conversion doesn't lose data, then operation
is possible. Otherwise, give an error, as it was earlier.
sql/item.h:
Change bool argument to uint flags:
we have now two different flags.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 6e43d66a32d..963038227a2 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -141,10 +141,10 @@ public: Item *get_tmp_table_item(THD *thd); bool agg_arg_collations(DTCollation &c, Item **items, uint nitems, - bool allow_superset_conversion= FALSE); + uint flags= 0); bool agg_arg_collations_for_comparison(DTCollation &c, Item **items, uint nitems, - bool allow_superset_comversion= FALSE); + uint flags= 0); bool walk(Item_processor processor, byte *arg); }; |