mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-30 14:28:50 +01:00
Fix for #641 MySQL - LONGBLOB problem on 64-bit systems
This commit is contained in:
parent
c85ad9f73d
commit
76573294e5
@ -172,8 +172,7 @@ void ResultMetadata::init(MYSQL_STMT* stmt)
|
||||
{for (std::size_t i = 0; i < count; i++)
|
||||
{
|
||||
std::size_t size = fieldSize(fields[i]);
|
||||
std::size_t zero = 0;
|
||||
if (size == ~zero) size = 0;
|
||||
if (size == 0xFFFFFFFF) size = 0;
|
||||
|
||||
_columns.push_back(MetaColumn(
|
||||
i, // position
|
||||
|
Loading…
x
Reference in New Issue
Block a user