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;
_value_ptr = data;
_len = _value_ptr ? 0 : len;
_len = _value_ptr ? len: 0;
}
void validate()