#include "soci.h"#include "soci-mysql.h"#include "test/common-tests.h"#include <iostream>#include <sstream>#include <string>#include <vector>#include <cassert>#include <cmath>#include <ctime>#include <ciso646>#include <cstdlib>#include <mysqld_error.h>#include <errmsg.h>
Go to the source code of this file.
Classes | |
| struct | bigint_table_creator |
| struct | bigint_unsigned_table_creator |
| struct | double_value_table_creator |
| struct | integer_value_table_creator |
| struct | strings_table_creator |
| struct | table_creator_for_get_affected_rows |
| struct | table_creator_one |
| struct | table_creator_three |
| struct | table_creator_two |
| class | test_context |
| struct | tinyint_unsigned_value_table_creator |
| struct | tinyint_value_table_creator |
| struct | unsigned_value_table_creator |
Functions | |
| bool | are_transactions_supported () |
| std::string | escape_string (soci::session &sql, const std::string &s) |
| int | main (int argc, char **argv) |
| void | test1 () |
| void | test10 () |
| void | test11 () |
| void | test12 () |
| void | test13 () |
| void | test14 () |
| void | test15 () |
| void | test2 () |
| void | test3 () |
| void | test4 () |
| void | test5 () |
| void | test6 () |
| void | test7 () |
| void | test8 () |
| void | test9 () |
| template<typename T > | |
| void | test_num (const char *s, bool valid, T value) |
Variables | |
| backend_factory const & | backEnd = *soci::factory_mysql() |
| std::string | connectString |
| bool are_transactions_supported | ( | ) |
Definition at line 934 of file test-mysql.cpp.
| std::string escape_string | ( | soci::session & | sql, |
| const std::string & | s | ||
| ) |
Definition at line 812 of file test-mysql.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 946 of file test-mysql.cpp.
| void test1 | ( | ) |
Definition at line 32 of file test-mysql.cpp.
| void test10 | ( | ) |
Definition at line 607 of file test-mysql.cpp.
| void test11 | ( | ) |
Definition at line 630 of file test-mysql.cpp.
| void test12 | ( | ) |
Definition at line 709 of file test-mysql.cpp.
| void test13 | ( | ) |
Definition at line 779 of file test-mysql.cpp.
| void test14 | ( | ) |
Definition at line 823 of file test-mysql.cpp.
| void test15 | ( | ) |
Definition at line 842 of file test-mysql.cpp.
| void test2 | ( | ) |
Definition at line 88 of file test-mysql.cpp.
| void test3 | ( | ) |
Definition at line 157 of file test-mysql.cpp.
| void test4 | ( | ) |
Definition at line 313 of file test-mysql.cpp.
| void test5 | ( | ) |
Definition at line 370 of file test-mysql.cpp.
| void test6 | ( | ) |
Definition at line 386 of file test-mysql.cpp.
| void test7 | ( | ) |
Definition at line 510 of file test-mysql.cpp.
| void test8 | ( | ) |
Definition at line 540 of file test-mysql.cpp.
| void test9 | ( | ) |
Definition at line 585 of file test-mysql.cpp.
| void test_num | ( | const char * | s, |
| bool | valid, | ||
| T | value | ||
| ) |
Definition at line 275 of file test-mysql.cpp.
| backend_factory const& backEnd = *soci::factory_mysql() |
Definition at line 28 of file test-mysql.cpp.
| std::string connectString |
Definition at line 27 of file test-mysql.cpp.