Skip to content

Commit

Permalink
Ignored ide files
Browse files Browse the repository at this point in the history
Copied empty backend skeleton to db2 backend

Added DB2 detection and building

Implemented session backend calls
  • Loading branch information
Denis Chapligin committed Feb 20, 2013
1 parent 4343337 commit 6850d63
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/backends/db2/soci-db2.h
Expand Up @@ -28,10 +28,13 @@

#include <cstddef>
#include <string>
<<<<<<< HEAD
#include <vector>
#include <iostream>
#include <sstream>
#include <cstring>
=======
>>>>>>> Ignored ide files

#include <sqlcli1.h>

Expand Down
8 changes: 8 additions & 0 deletions src/backends/db2/test/test-db2.cpp
Expand Up @@ -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>
Expand All @@ -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:
Expand Down
4 changes: 0 additions & 4 deletions src/cmake/SociDependencies.cmake
Expand Up @@ -28,10 +28,6 @@ set(SOCI_BACKENDS_DB_DEPENDENCIES
Firebird
DB2)

set(SOCI_BACKENDS_ALL_DEPENDENCIES
Boost
${SOCI_BACKENDS_DB_DEPENDENCIES})

#
# Perform checks
#
Expand Down

0 comments on commit 6850d63

Please sign in to comment.