File indexing completed on 2025-02-23 05:15:16
0001 // 0002 // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton 0003 // Distributed under the Boost Software License, Version 1.0. 0004 // (See accompanying file LICENSE_1_0.txt or copy at 0005 // http://www.boost.org/LICENSE_1_0.txt) 0006 // 0007 0008 #define SOCI_EMPTY_SOURCE 0009 #include "soci/empty/soci-empty.h" 0010 0011 #ifdef _MSC_VER 0012 #pragma warning(disable:4355) 0013 #endif 0014 0015 using namespace soci; 0016 using namespace soci::details; 0017 0018 0019 empty_session_backend::empty_session_backend( 0020 connection_parameters const & /* parameters */) 0021 { 0022 // ... 0023 } 0024 0025 empty_session_backend::~empty_session_backend() 0026 { 0027 clean_up(); 0028 } 0029 0030 void empty_session_backend::begin() 0031 { 0032 // ... 0033 } 0034 0035 void empty_session_backend::commit() 0036 { 0037 // ... 0038 } 0039 0040 void empty_session_backend::rollback() 0041 { 0042 // ... 0043 } 0044 0045 void empty_session_backend::clean_up() 0046 { 0047 // ... 0048 } 0049 0050 empty_statement_backend * empty_session_backend::make_statement_backend() 0051 { 0052 return new empty_statement_backend(*this); 0053 } 0054 0055 empty_rowid_backend * empty_session_backend::make_rowid_backend() 0056 { 0057 return new empty_rowid_backend(*this); 0058 } 0059 0060 empty_blob_backend * empty_session_backend::make_blob_backend() 0061 { 0062 return new empty_blob_backend(*this); 0063 }