File indexing completed on 2025-02-23 05:15:17

0001 //
0002 // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton
0003 // MySQL backend copyright (C) 2006 Pawel Aleksander Fedorynski
0004 // Distributed under the Boost Software License, Version 1.0.
0005 // (See accompanying file LICENSE_1_0.txt or copy at
0006 // http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 
0009 #define SOCI_MYSQL_SOURCE
0010 #include "soci/mysql/soci-mysql.h"
0011 
0012 #ifdef _MSC_VER
0013 #pragma warning(push)
0014 #pragma warning(disable:4355 4702)
0015 #endif
0016 
0017 using namespace soci;
0018 using namespace soci::details;
0019 
0020 mysql_rowid_backend::mysql_rowid_backend(
0021     mysql_session_backend & /* session */)
0022 {
0023     throw soci_error("RowIDs are not supported.");
0024 }
0025 
0026 mysql_rowid_backend::~mysql_rowid_backend()
0027 {
0028 }
0029 
0030 #ifdef _MSC_VER
0031 #pragma warning(pop)
0032 #endif