Display value booleans as 0 and 1.
This commit is contained in:
parent
7f5f53de82
commit
327fdca8f4
1 changed files with 1 additions and 4 deletions
|
|
@ -1634,10 +1634,7 @@ void value_t::print(std::ostream& out,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BOOLEAN:
|
case BOOLEAN:
|
||||||
if (as_boolean())
|
out << (as_boolean() ? "1" : "0");
|
||||||
out << "true";
|
|
||||||
else
|
|
||||||
out << "false";
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DATETIME:
|
case DATETIME:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue