mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/home/bar/mysql-4.1.b13751
This commit is contained in:
@@ -1056,3 +1056,8 @@ hex(a)
|
|||||||
5B
|
5B
|
||||||
E880BD
|
E880BD
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
set names 'latin1';
|
||||||
|
create table t1 (a varchar(255)) default charset=utf8;
|
||||||
|
select * from t1 where find_in_set('-1', a);
|
||||||
|
a
|
||||||
|
drop table t1;
|
||||||
|
@@ -865,4 +865,12 @@ insert into t1 values (_utf8 0x5b);
|
|||||||
select hex(a) from t1;
|
select hex(a) from t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug#13751 find_in_set: Illegal mix of collations
|
||||||
|
#
|
||||||
|
set names 'latin1';
|
||||||
|
create table t1 (a varchar(255)) default charset=utf8;
|
||||||
|
select * from t1 where find_in_set('-1', a);
|
||||||
|
drop table t1;
|
||||||
|
|
||||||
# End of 4.1 tests
|
# End of 4.1 tests
|
||||||
|
@@ -1454,7 +1454,7 @@ void Item_func_find_in_set::fix_length_and_dec()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
agg_arg_collations_for_comparison(cmp_collation, args, 2);
|
agg_arg_charsets(cmp_collation, args, 2, MY_COLL_CMP_CONV);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char separator=',';
|
static const char separator=',';
|
||||||
|
Reference in New Issue
Block a user