8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:43:02 +01:00

Fixed assertion with CREATE COLLATION.

Test case:

create database 'db.fdb' default character set utf8;
create collation unicode_ptbr_ci_ai for utf8 from unicode_ci_ai 'locale=pt_BR';
This commit is contained in:
Adriano dos Santos Fernandes 2017-06-15 22:40:16 -03:00
parent a8dee20788
commit 7107bb4366

View File

@ -3862,6 +3862,7 @@ void CreateCollationNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlScra
{
if (MET_get_char_coll_subtype_info(tdbb,
INTL_CS_COLL_TO_TTYPE(forCharSetId, fromCollationId), &info) &&
forCharSetId != CS_METADATA &&
info.specificAttributes.hasData())
{
UCharBuffer temp;