summaryrefslogtreecommitdiff
path: root/libodbcpp/command.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-09 01:33:33 +0000
committerrandomdan <randomdan@localhost>2011-02-09 01:33:33 +0000
commit6d7c18f1119de8941c7055910e55c13c411eeb92 (patch)
tree9468662e07280c26e29de53f7fdfa228eb62ecde /libodbcpp/command.h
parentAdd missing conversion in generic visitor (diff)
downloadlibdbpp-odbc-6d7c18f1119de8941c7055910e55c13c411eeb92.tar.bz2
libdbpp-odbc-6d7c18f1119de8941c7055910e55c13c411eeb92.tar.xz
libdbpp-odbc-6d7c18f1119de8941c7055910e55c13c411eeb92.zip
Fix the build system to do dependencies properly
Break down libodbcpp into a set of base classes; libdbpp Add a native PostgreSQL implementation of libdbpp; libpqpp Extend project2 rdbms stuff to work with generic connectors Update datasources to specify connector type Build libmisc as .so
Diffstat (limited to 'libodbcpp/command.h')
-rw-r--r--libodbcpp/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libodbcpp/command.h b/libodbcpp/command.h
index 1bc9f6d..fdabe4a 100644
--- a/libodbcpp/command.h
+++ b/libodbcpp/command.h
@@ -1,13 +1,14 @@
#ifndef ODBC_COMMAND_H
#define ODBC_COMMAND_H
+#include "../libdbpp/command.h"
#include <vector>
#include "connection.h"
#include <glibmm/ustring.h>
namespace ODBC {
class Param;
- class Command {
+ class Command : public virtual DB::Command {
typedef std::vector<Param*> Params;
public:
Command(const Connection &, const std::string & sql);
@@ -31,7 +32,6 @@ namespace ODBC {
void bindNull(unsigned int i);
- const std::string sql;
protected:
friend class Param;
friend class Column;