From c3da11f658e572d19ad00d6c5e6ff8ecb884bf66 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sun, 2 May 2010 12:44:03 +0000 Subject: Ditch crazy timetypepair and just use an ODBC struct --- libodbcpp/command.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libodbcpp/command.h') 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 #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: -- cgit v1.2.3