From 7297648c278903589beebf6fbc7511e5c1ff421d Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 16 Sep 2010 00:01:56 +0000 Subject: Rewrite the whole of parameter and column binding almost from scratch No more template rubbish, no more messy partial specialisation Add copyless rebind of column to parameter Changes in project2 to suit --- libodbcpp/selectcommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libodbcpp/selectcommand.h') diff --git a/libodbcpp/selectcommand.h b/libodbcpp/selectcommand.h index c523f25..a0cd6e1 100644 --- a/libodbcpp/selectcommand.h +++ b/libodbcpp/selectcommand.h @@ -11,12 +11,12 @@ namespace ODBC { SelectCommand (const Connection &, const std::string & sql); ~SelectCommand(); bool fetch(SQLSMALLINT orientation = SQL_FETCH_NEXT, SQLLEN offset = 0); + void execute(); const Column & operator[](unsigned int col) const; const Column & operator[](const Glib::ustring &) const; unsigned int columnCount() const; unsigned int getOrdinal(const Glib::ustring &) const; private: - void execute(); Columns columns; }; } -- cgit v1.2.3