Permalink
Browse files

Ignored ide files

Copied empty backend skeleton to db2 backend

Added DB2 detection and building

Implemented session backend calls
  • Loading branch information...
akashihi committed Feb 9, 2011
1 parent e8aba8b commit 27154ca94f85cabc48a351ae3677650d817b8268
View
@@ -18,4 +18,3 @@ missing
Makefile
Makefile.in
tmp
@@ -28,10 +28,13 @@
#include <cstddef>
#include <string>
<<<<<<< HEAD
#include <vector>
#include <iostream>
#include <sstream>
#include <cstring>
=======
>>>>>>> Ignored ide files
#include <sqlcli1.h>
@@ -1,4 +1,4 @@
soci_backend_test(
BACKEND DB2
SOURCE test-db2.cpp
CONNSTR "Dsn=SAMPLE;Uid=db2inst1;Pwd=db2inst1;autocommit=off")
CONNSTR "Dsn=SAMPLE;Uid=db2inst1;Pwd=db2inst1;autocommit=off")
@@ -6,7 +6,11 @@
//
#include "soci.h"
<<<<<<< HEAD
#include "soci-db2.h"
=======
#include "soci-empty.h"
>>>>>>> Ignored ide files
#include <iostream>
#include <string>
#include <cassert>
@@ -16,7 +20,11 @@
using namespace soci;
std::string connectString;
<<<<<<< HEAD
backend_factory const &backEnd = *soci::factory_db2();
=======
backend_factory const &backEnd = *soci::factory_empty();
>>>>>>> Ignored ide files
// NOTE:
@@ -28,10 +28,6 @@ set(SOCI_BACKENDS_DB_DEPENDENCIES
Firebird
DB2)
set(SOCI_BACKENDS_ALL_DEPENDENCIES
Boost
${SOCI_BACKENDS_DB_DEPENDENCIES})
#
# Perform checks
#

0 comments on commit 27154ca

Please sign in to comment.