File indexing completed on 2025-02-23 05:15:21
0001 // 0002 // Copyright 2014 SimpliVT Corporation 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_SQLITE3_SOURCE 0009 #include "soci/sqlite3/soci-sqlite3.h" 0010 #include <cstring> 0011 0012 using namespace soci; 0013 0014 sqlite3_soci_error::sqlite3_soci_error( 0015 std::string const & msg, int result) 0016 : soci_error(msg), result_(result) 0017 { 0018 } 0019 0020 int sqlite3_soci_error::result() const 0021 { 0022 return result_; 0023 }