mariadb/storage
Narayanan V 094ddf2266 Bug#45197 cp1250 character set with IBMDB2I generates 2027 error
Running a SELECT query over an IBMDB2I table with a cp1250 character set
was producing an error 2027 (ibmdb2i error 2027: Error converting single-byte
sort sequence to UCS-2).

The QMY_DESCRIBE_RANGE API was returning error 2027 to the storage engine
because the CCSID used for a cp1250 column (870) does not match the CCSID
used by the DB2 sort sequences associated with cp1250_* collations (1153).
This was because the storage engine relies on a set of system APIs to
determine which CCSID value most closely matches a particular MySQL
character set. However, in the case of cp1250, the system is returning
CCSID 870, which does not have a codepoint for the euro symbol, making it
an incorrect match.

This patch overrides the selection of a compatible CCSID to always return
1153 for cp1250.

storage/ibmdb2i/db2i_charsetSupport.cc:
  Bug#45197 cp1250 character set with IBMDB2I generates 2027 error
  
  override the selection of a compatible CCSID to
  always return 1153 for cp1250.
2009-06-01 12:52:10 +05:30
..
archive Bug #39802 On Windows, 32-bit time_t should be enforced 2009-05-13 15:41:24 +05:30
blackhole Added "Sun Microsystems, Inc." to copyright headers on files modified 2008-11-10 21:21:49 +01:00
csv compiler warning fix 2009-03-24 13:02:01 +04:00
example Merge trift2.:/MySQL/M51/mysql-5.1 2008-03-14 14:41:08 +01:00
federated Bug #39802 On Windows, 32-bit time_t should be enforced 2009-05-13 15:41:24 +05:30
heap Bug#29125 Windows Server X64: so many compiler warnings 2009-02-13 11:41:47 -05:00
ibmdb2i Bug#45197 cp1250 character set with IBMDB2I generates 2027 error 2009-06-01 12:52:10 +05:30
innobase merge to 5.1-bugteam tree 2009-05-19 14:01:29 +05:30
myisam 5.0-bugteam->5.1-bugteam merge 2009-05-27 15:42:19 +05:00
myisammrg 5.0-bugteam->5.1-bugteam merge 2009-05-27 15:42:19 +05:00
ndb Add missing newline to usage message of ndb_print_backup_file (Bug #34989) 2009-04-28 11:21:47 -07:00
Makefile.am Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00