summaryrefslogtreecommitdiff
path: root/libpqpp/column.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/column.cpp')
-rw-r--r--libpqpp/column.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/column.cpp b/libpqpp/column.cpp
index 745fdd5..c43e4ab 100644
--- a/libpqpp/column.cpp
+++ b/libpqpp/column.cpp
@@ -32,7 +32,7 @@ PQ::Column::apply(DB::HandleField & h) const
h.string(PQgetvalue(sc->execRes, sc->tuple, colNo), PQgetlength(sc->execRes, sc->tuple, colNo));
break;
case 16: //BOOLOID:
- h.integer(PQgetvalue(sc->execRes, sc->tuple, colNo)[0] == 't' ? 1 : 0);
+ h.boolean(PQgetvalue(sc->execRes, sc->tuple, colNo)[0] == 't' ? 1 : 0);
break;
case 21: //INT2OID:
case 23: //INT4OID: