diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-23 16:48:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-23 16:48:01 +0200 |
commit | 42503207920b9264e04c97cb6a5c53214fd2eff8 (patch) | |
tree | dd192b60515188e2afd6f11e7cc54aac73f571e4 /odb/mysql/binding.hxx | |
parent | 4d0711124bb6cdca491e33a51911d20090a1879a (diff) |
Polymorphic inheritance support
Diffstat (limited to 'odb/mysql/binding.hxx')
-rw-r--r-- | odb/mysql/binding.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/mysql/binding.hxx b/odb/mysql/binding.hxx index 3b467f3..10293e2 100644 --- a/odb/mysql/binding.hxx +++ b/odb/mysql/binding.hxx @@ -11,8 +11,8 @@ #include <odb/forward.hxx> -#include <odb/mysql/mysql.hxx> #include <odb/mysql/version.hxx> +#include <odb/mysql/mysql-types.hxx> #include <odb/mysql/details/export.hxx> @@ -23,6 +23,8 @@ namespace odb class LIBODB_MYSQL_EXPORT binding { public: + binding (): bind (0), count (0), version (0) {} + binding (MYSQL_BIND* b, std::size_t n) : bind (b), count (n), version (0) { |