mirror of
https://github.com/mariadb-corporation/mariadb-connector-cpp.git
synced 2025-08-11 23:32:23 +00:00

Introduced MariaDbDataSource class. Connections obtained with DS object are always pooled. PooledConnection are not given to applications yet, though. Connections to the pool, except the first one, are added to the pool by the separate thread. Another thread watches over idled connections.
48 lines
1.6 KiB
C++
48 lines
1.6 KiB
C++
/************************************************************************************
|
|
Copyright (C) 2020 MariaDB Corporation AB
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with this library; if not see <http://www.gnu.org/licenses>
|
|
or write to the Free Software Foundation, Inc.,
|
|
51 Franklin St., Fifth Floor, Boston, MA 02110, USA
|
|
*************************************************************************************/
|
|
|
|
|
|
#ifndef __CONNCPP_H_
|
|
#define __CONNCPP_H_
|
|
|
|
#include "conncpp/Driver.hpp"
|
|
#include "conncpp/DriverManager.hpp"
|
|
#include "conncpp/Connection.hpp"
|
|
#include "conncpp/ResultSet.hpp"
|
|
#include "conncpp/DatabaseMetaData.hpp"
|
|
#include "conncpp/ResultSetMetaData.hpp"
|
|
#include "conncpp/Statement.hpp"
|
|
#include "conncpp/PreparedStatement.hpp"
|
|
#include "conncpp/ParameterMetaData.hpp"
|
|
#include "conncpp/CallableStatement.hpp"
|
|
#include "conncpp/Warning.hpp"
|
|
#include "conncpp/Savepoint.hpp"
|
|
#include "conncpp/Types.hpp"
|
|
|
|
#include "conncpp/SQLString.hpp"
|
|
#include "conncpp/Exception.hpp"
|
|
#include "conncpp/jdbccompat.hpp"
|
|
|
|
#include "MariaDbDataSource.hpp"
|
|
|
|
namespace sql
|
|
{
|
|
}
|
|
#endif
|