Merge branch 'develop' of https://github.com/pocoproject/poco into develop

This commit is contained in:
Guenter Obiltschnig
2014-12-17 09:21:16 +01:00
2 changed files with 3 additions and 2 deletions

View File

@@ -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