aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/pgsql/database.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/database.cxx b/odb/pgsql/database.cxx
index 5c60957..51752d7 100644
--- a/odb/pgsql/database.cxx
+++ b/odb/pgsql/database.cxx
@@ -319,7 +319,7 @@ namespace odb
native_binding nparam (values, lengths, formats, 1);
bool rnull[1];
- bind rbind[1] = {{bind::boolean_, &exists, 0, 0, &rnull[1], 0}};
+ bind rbind[1] = {{bind::boolean_, &exists, 0, 0, &rnull[0], 0}};
binding result (rbind, 1);
result.version++;