Commit b6cf700d authored by Denis Chapligin's avatar Denis Chapligin

Ignored ide files

Copied empty backend skeleton to db2 backend

Added DB2 detection and building

Implemented session backend calls
parent 368f2ad2
......@@ -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>
......
soci_backend_test(
BACKEND DB2
SOURCE test-db2.cpp
CONNSTR "Dsn=SAMPLE;Uid=db2inst1;Pwd=db2inst1;autocommit=off")
\ No newline at end of file
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:
......
......@@ -27,10 +27,6 @@ set(SOCI_BACKENDS_DB_DEPENDENCIES
SQLite3
DB2)
set(SOCI_BACKENDS_ALL_DEPENDENCIES
Boost
${SOCI_BACKENDS_DB_DEPENDENCIES})
#
# Perform checks
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment