diff options
author | randomdan <randomdan@localhost> | 2010-08-30 17:34:02 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-08-30 17:34:02 +0000 |
commit | 685587ddb7af3a943a1dd5837fcfeeb779cf15b1 (patch) | |
tree | a376a877feb1b1689481655844648a20a884d4f8 /libodbcpp/command.h | |
parent | Fix early assign of insCmd in sqlmerge (diff) | |
download | libdbpp-odbc-685587ddb7af3a943a1dd5837fcfeeb779cf15b1.tar.bz2 libdbpp-odbc-685587ddb7af3a943a1dd5837fcfeeb779cf15b1.tar.xz libdbpp-odbc-685587ddb7af3a943a1dd5837fcfeeb779cf15b1.zip |
Remove lots of overkill variations of string stuff and have a vector<char> deal with the memory
Diffstat (limited to 'libodbcpp/command.h')
-rw-r--r-- | libodbcpp/command.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libodbcpp/command.h b/libodbcpp/command.h index 1348441..830f573 100644 --- a/libodbcpp/command.h +++ b/libodbcpp/command.h @@ -18,12 +18,12 @@ namespace ODBC { void bindParamI(unsigned int i, unsigned int val); void bindParamI(unsigned int i, long unsigned int val); void bindParamI(unsigned int i, long long unsigned int val); + void bindParamF(unsigned int i, double val); void bindParamF(unsigned int i, float val); - void bindParamS(unsigned int i, const char *); - void bindParamS(unsigned int i, const char *, size_t); - void bindParamS(unsigned int i, const std::string &); + void bindParamS(unsigned int i, const Glib::ustring &); + void bindParamT(unsigned int i, const struct tm *); void bindParamT(unsigned int i, const SQL_TIMESTAMP_STRUCT &); void bindParamT(unsigned int i, time_t); |