diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-03 17:33:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-03 17:33:58 +0200 |
commit | 466fe7cc930ad788d5be358575d95dd1c3e8fbeb (patch) | |
tree | 3ea541bf95bac6d40e5330878752bdd4b5d7fd05 /odb/mysql/statement.hxx | |
parent | f1602f3f6e84bab0440790b2154a7c42b23b0adb (diff) |
Make sure MySQL C API is not called from inline functions
Otherwise, on some platforms, the user may need to link to libmysqlclient
explicitly.
Diffstat (limited to 'odb/mysql/statement.hxx')
-rw-r--r-- | odb/mysql/statement.hxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/odb/mysql/statement.hxx b/odb/mysql/statement.hxx index 5266fa6..06df6bc 100644 --- a/odb/mysql/statement.hxx +++ b/odb/mysql/statement.hxx @@ -138,11 +138,7 @@ namespace odb execute (); unsigned long long - id () - { - return static_cast<unsigned long long> ( - mysql_stmt_insert_id (stmt_)); - } + id (); private: insert_statement (const insert_statement&); |