mirror of
https://github.com/MariaDB/server.git
synced 2025-03-08 04:03:30 +01:00
![]() 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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
db2i_blobCollection.cc | ||
db2i_blobCollection.h | ||
db2i_charsetSupport.cc | ||
db2i_charsetSupport.h | ||
db2i_collationSupport.cc | ||
db2i_collationSupport.h | ||
db2i_constraints.cc | ||
db2i_conversion.cc | ||
db2i_errors.cc | ||
db2i_errors.h | ||
db2i_file.cc | ||
db2i_file.h | ||
db2i_global.h | ||
db2i_iconv.h | ||
db2i_ileBridge.cc | ||
db2i_ileBridge.h | ||
db2i_ioBuffers.cc | ||
db2i_ioBuffers.h | ||
db2i_misc.h | ||
db2i_myconv.cc | ||
db2i_myconv.h | ||
db2i_rir.cc | ||
db2i_safeString.h | ||
db2i_sqlStatementStream.cc | ||
db2i_sqlStatementStream.h | ||
db2i_validatedPointer.h | ||
ha_ibmdb2i.cc | ||
ha_ibmdb2i.h | ||
Makefile.am | ||
plug.in |