mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 20:11:42 +01:00
c2141faf1a
Creating an IBMDB2I table with the macce character set is successful, but any attempt to insert data into the table was failing. This was happening because the character set name "macce" is not a valid iconv descriptor for IBM i PASE. This patch adds an override to convertTextDesc to use the equivalent valid iconv descriptor "IBM-1282" instead.
11 lines
299 B
Text
11 lines
299 B
Text
source suite/ibmdb2i/include/have_ibmdb2i.inc;
|
|
source suite/ibmdb2i/include/have_i61.inc;
|
|
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
|
|
create table t1 (c char(10), index(c)) charset macce engine=ibmdb2i;
|
|
insert into t1 values ("test");
|
|
select * from t1 order by c;
|
|
drop table t1;
|