The Battle for Wesnoth  1.15.3+dev
Namespaces | Enumerations | Functions
concurrency.hpp File Reference
#include <vector>
#include <mariadb++/account.hpp>
#include <mariadb++/statement.hpp>
Include dependency graph for concurrency.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mariadb
 
 mariadb::concurrency
 
 mariadb::concurrency::status
 

Enumerations

enum  mariadb::concurrency::status::type {
  mariadb::concurrency::status::waiting, mariadb::concurrency::status::executing, mariadb::concurrency::status::succeed, mariadb::concurrency::status::failed,
  mariadb::concurrency::status::removed
}
 

Functions

void mariadb::concurrency::set_account (account_ref &account)
 
status::type mariadb::concurrency::worker_status (handle h)
 
handle mariadb::concurrency::execute (const std::string &query, bool keep_handle)
 
void mariadb::concurrency::execute (const std::string &squery)
 
handle mariadb::concurrency::insert (const std::string &query, bool keep_handle)
 
void mariadb::concurrency::insert (const std::string &squery)
 
handle mariadb::concurrency::query (const std::string &query, bool keep_handle)
 
void mariadb::concurrency::query (const std::string &squery)
 
statement_ref mariadb::concurrency::create_statement (const std::string &query)
 
handle mariadb::concurrency::execute (statement_ref &statement, bool keep_handle)
 
void mariadb::concurrency::execute (statement_ref &statement)
 
handle mariadb::concurrency::insert (statement_ref &statement, bool keep_handle)
 
void mariadb::concurrency::insert (statement_ref &statement)
 
handle mariadb::concurrency::query (statement_ref &statement, bool keep_handle)
 
void mariadb::concurrency::query (statement_ref &statement)
 
u64 mariadb::concurrency::get_execute_result (handle h)
 
u64 mariadb::concurrency::get_insert_result (handle h)
 
result_set_ref mariadb::concurrency::get_query_result (handle h)
 
void mariadb::concurrency::release_handle (handle h)
 
bool mariadb::concurrency::wait_handle (handle h, u64 wait_time_ms=100)