GH #192: Unsigned integer values not handled properly in result sets

This commit is contained in:
Cameron Smith
2013-06-07 15:14:18 -04:00
parent 83ad8b36f5
commit 07f33b729a
8 changed files with 58 additions and 12 deletions

View File

@@ -217,6 +217,7 @@ void ResultMetadata::init(MYSQL_STMT* stmt)
_row[i].buffer = &_buffer[0] + offset;
_row[i].length = &_lengths[i];
_row[i].is_null = &_isNull[i];
_row[i].is_unsigned = (fields[i].flags & UNSIGNED_FLAG) > 0;
offset += _row[i].buffer_length;
}}