0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Fixed bug in text results

text results never had a reasonable length
This commit is contained in:
rbock 2014-01-27 13:40:52 +01:00
parent a9cfe534ef
commit 05ca005e1b

View File

@ -116,7 +116,7 @@ namespace sqlpp
{ {
_is_valid = true; _is_valid = true;
_value_ptr = data; _value_ptr = data;
_len = _value_ptr ? 0 : len; _len = _value_ptr ? len: 0;
} }
void validate() void validate()