Skip to content

Commit 757184f

Browse files
authored
value: fix the bool constructor's value type (#118)
Signed-off-by: Casey Bodley <[email protected]> Signed-off-by: Casey Bodley <[email protected]>
1 parent fdecd6b commit 757184f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/s3select_oper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ class value
459459
{
460460
__val.num = n;
461461
}
462-
explicit value(bool b) : type(value_En_t::DECIMAL)
462+
explicit value(bool b) : type(value_En_t::BOOL)
463463
{
464464
__val.num = (int64_t)b;
465465
}

0 commit comments

Comments
 (0)