diff options
author | randomdan <randomdan@localhost> | 2010-05-02 12:44:03 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-05-02 12:44:03 +0000 |
commit | c3da11f658e572d19ad00d6c5e6ff8ecb884bf66 (patch) | |
tree | c7035bcc0741ce7472ec6dbb56b4dc93913ee5af /libodbcpp/command.h | |
parent | Add a writeToBuf function and use it (diff) | |
download | libdbpp-odbc-c3da11f658e572d19ad00d6c5e6ff8ecb884bf66.tar.bz2 libdbpp-odbc-c3da11f658e572d19ad00d6c5e6ff8ecb884bf66.tar.xz libdbpp-odbc-c3da11f658e572d19ad00d6c5e6ff8ecb884bf66.zip |
Ditch crazy timetypepair and just use an ODBC struct
Diffstat (limited to 'libodbcpp/command.h')
-rw-r--r-- | libodbcpp/command.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libodbcpp/command.h b/libodbcpp/command.h index 8ef7249..8ea24d4 100644 --- a/libodbcpp/command.h +++ b/libodbcpp/command.h @@ -3,7 +3,6 @@ #include <vector> #include "connection.h" -#include "timetypepair.h" namespace ODBC { class Param; @@ -23,11 +22,11 @@ namespace ODBC { void bindParamS(unsigned int i, const char *); void bindParamS(unsigned int i, const unsigned char *); void bindParamS(unsigned int i, const unsigned char *, size_t); - void bindParamS(unsigned int i, std::string); - void bindParamS(unsigned int i, String); + void bindParamS(unsigned int i, const std::string &); + void bindParamS(unsigned int i, const String &); void bindParamT(unsigned int i, const struct tm *); + void bindParamT(unsigned int i, const SQL_TIMESTAMP_STRUCT &); void bindParamT(unsigned int i, time_t); - void bindParamT(unsigned int i, const TimeTypePair & p); const String sql; protected: |