mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
162fa0059d
Occasionally, if both the partition_pruning and partition_range tests are run sequentially against the IBMDB2I engine, the partition_range test will fail. Compiler padding on a 64-bit build allowed garbage data in the hash key used for caching open iconv descriptors. As a result, cached descriptors were not found, and multiple duplicate iconv descriptors were opened for a single character set. Eventually, the maximum number of open iconv descriptors was reached, and further iconv_open() calls would fail, leading the storage engine to report incorrectly that the character set was not supported. This patch widens the 16-bit members of the hash key to 32 bits to eliminate compiler padding. The entire length of the hash key is now initialized correctly on both 32-bit and 64-bit builds. |
||
---|---|---|
.. | ||
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 |