mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Use soci in some places:
* Brings the soci subtree into rippled. * Validator, peerfinder, and SHAMapStore use new soci backend. * Optional postgresql backend for soci (if POSTGRESQL_ROOT env var is set).
This commit is contained in:
51
src/ripple/unity/soci.cpp
Normal file
51
src/ripple/unity/soci.cpp
Normal file
@@ -0,0 +1,51 @@
|
||||
//------------------------------------------------------------------------------
|
||||
/*
|
||||
This file is part of rippled: https://github.com/ripple/rippled
|
||||
Copyright (c) 2012-2015 Ripple Labs Inc.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
//==============================================================================
|
||||
#include <BeastConfig.h>
|
||||
|
||||
// Core soci
|
||||
#include <core/connection-parameters.cpp>
|
||||
#include <core/connection-pool.cpp>
|
||||
#include <core/error.cpp>
|
||||
#include <core/into-type.cpp>
|
||||
#include <core/once-temp-type.cpp>
|
||||
#include <core/prepare-temp-type.cpp>
|
||||
#include <core/procedure.cpp>
|
||||
#include <core/ref-counted-prepare-info.cpp>
|
||||
#include <core/ref-counted-statement.cpp>
|
||||
#include <core/row.cpp>
|
||||
#include <core/rowid.cpp>
|
||||
#include <core/session.cpp>
|
||||
#include <core/soci-simple.cpp>
|
||||
#include <core/statement.cpp>
|
||||
#include <core/transaction.cpp>
|
||||
#include <core/use-type.cpp>
|
||||
#include <core/values.cpp>
|
||||
|
||||
#include <backends/sqlite3/common.cpp>
|
||||
#include <backends/sqlite3/factory.cpp>
|
||||
#include <backends/sqlite3/row-id.cpp>
|
||||
#include <backends/sqlite3/session.cpp>
|
||||
#include <backends/sqlite3/standard-into-type.cpp>
|
||||
#include <backends/sqlite3/standard-use-type.cpp>
|
||||
#include <backends/sqlite3/statement.cpp>
|
||||
#include <backends/sqlite3/vector-into-type.cpp>
|
||||
#include <backends/sqlite3/vector-use-type.cpp>
|
||||
|
||||
#include <core/blob.cpp>
|
||||
#include <backends/sqlite3/blob.cpp>
|
||||
Reference in New Issue
Block a user