aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-05-19 17:09:46 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-05-19 17:09:46 +0200
commitd710fb34d676d111ae230bac16dc37e2e6e052ee (patch)
treea2f47fe6640ea2a513c04ba280b6828f19bca7c5
parent0b762135ae0e28fcda69d58523364aa8bef9637a (diff)
Add version data member to native_binding
-rw-r--r--odb/pgsql/binding.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/pgsql/binding.hxx b/odb/pgsql/binding.hxx
index d6c61a8..50c655e 100644
--- a/odb/pgsql/binding.hxx
+++ b/odb/pgsql/binding.hxx
@@ -27,13 +27,14 @@ namespace odb
const int* l,
const int* f,
std::size_t n)
- : values (v), lengths (l), formats (f), count (n)
+ : values (v), lengths (l), formats (f), version (0), count (n)
{
}
const char* const* values;
const int* lengths;
const int* formats;
+ std::size_t version;
std::size_t count;
private: