mariadb/storage/ibmdb2i
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
..
CMakeLists.txt
db2i_blobCollection.cc
db2i_blobCollection.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_charsetSupport.cc Bug#45197 cp1250 character set with IBMDB2I generates 2027 error 2009-06-01 12:52:10 +05:30
db2i_charsetSupport.h
db2i_collationSupport.cc Bug#44020 Unicode Swedish collations not working with IBMDB2I 2009-04-10 11:56:54 +05:30
db2i_collationSupport.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_constraints.cc Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_conversion.cc Bug#44811 Tests with utf8 charset fail with ibmdb2i on 64bit MySQL 2009-05-29 15:01:00 +05:30
db2i_errors.cc Bug#44232 Error msg should be improved when collation not supported. 2009-05-05 15:03:52 +05:30
db2i_errors.h Bug#44232 Error msg should be improved when collation not supported. 2009-05-05 15:03:52 +05:30
db2i_file.cc Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_file.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_global.h
db2i_iconv.h
db2i_ileBridge.cc Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_ileBridge.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_ioBuffers.cc Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_ioBuffers.h Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_misc.h Bug#44811 Tests with utf8 charset fail with ibmdb2i on 64bit MySQL 2009-05-29 15:01:00 +05:30
db2i_myconv.cc
db2i_myconv.h
db2i_rir.cc Import the ibmdb2i-ga4-src snapshot from IBM 2009-03-09 15:20:14 -06:00
db2i_safeString.h
db2i_sqlStatementStream.cc
db2i_sqlStatementStream.h
db2i_validatedPointer.h
ha_ibmdb2i.cc Bug#44610 RCDFMT clause requested when creating DB2 table 2009-05-17 21:55:23 +05:30
ha_ibmdb2i.h Bug#44610 RCDFMT clause requested when creating DB2 table 2009-05-17 21:55:23 +05:30
Makefile.am Add new headers to noinst_HEADERS (ibmdb2i storage engine) 2009-04-01 22:18:49 +02:00
plug.in