0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Commit Graph

  • 0cc45bd790
    PostgreSQL exceptions for serialization_failure and deadlock_detected (#551) MeanSquaredError 2024-01-05 10:02:32 +0200
  • 9b49afa306
    Add is_transaction_active() to all connectors (#550) MeanSquaredError 2024-01-05 09:59:42 +0200
  • c8b47e31a5 When closing a transaction do it in the following order: report (if any), execute SQL command, set transaction active flag to false. MeanSquaredError 2024-01-04 11:54:43 +0200
  • 5cac88f0c2 Add the exception sqlpp::postgresql::deadlock_detected MeanSquaredError 2024-01-03 19:33:40 +0200
  • 7dc4832f49 Add tests for sqlite3::connection_base::is_transaction_active() MeanSquaredError 2024-01-03 15:29:16 +0200
  • 0b3b163731 Add sqlite3::connection_base::is_transaction_active() MeanSquaredError 2024-01-03 14:45:57 +0200
  • 4a834514ba Change the type of the SQLite3 transaction status from transaction_status_type to a boolean flag. MeanSquaredError 2024-01-03 14:43:52 +0200
  • e2b588c818 When rolling back a PostgreSQL transaction clear the transaction_active flag before the ROLLBACK command is issued. This makes PostgreSQL rollbacks consistent with the way PostgreSQL commit and other connector commits/rollbacks are handled. MeanSquaredError 2024-01-03 14:49:03 +0200
  • ba410de182 Add tests for postgresql::connection_base::is_transaction_active() MeanSquaredError 2024-01-03 15:07:25 +0200
  • 6c052670e2 Add postgresql::connection_base::is_transaction_active() MeanSquaredError 2024-01-03 14:32:23 +0200
  • a718328dcf Add more tests for mysql::connection::is_transaction_active() MeanSquaredError 2024-01-03 15:38:54 +0200
  • f4edeb6976 Move mysql::connection_base::is_transaction_active() to the other transaction-handling methods. MeanSquaredError 2024-01-03 14:29:10 +0200
  • c473d29738 Document the connector API method is_transaction_active() MeanSquaredError 2024-01-03 14:26:06 +0200
  • 4cf5724021 ws MeanSquaredError 2024-01-03 14:23:55 +0200
  • f3632bdf10 Add the exception sqlpp::postgresql::serialization_failure MeanSquaredError 2023-12-31 14:47:44 +0200
  • 3474a4fa5d Add missing includes, #548 Roland Bock 2023-12-26 08:30:24 +0100
  • 6cc2067ef5 Allow alias of single-column select to be used as select column (#542) Roland Bock 2023-11-19 12:57:54 +0100
  • 5c673603c3 Showcase alias of column name in sub-select, see #542 Roland Bock 2023-11-18 12:46:13 +0100
  • a1baba0ab7 Fix warnings in Python regexes by adding missing backslashes. MeanSquaredError 2023-11-13 14:16:49 +0200
  • 3439ba27bd Fix warnings in Python regexes by adding missing backslashes. MeanSquaredError 2023-11-13 14:16:49 +0200
  • 7a21ab63ee Fix build on x86 fed 2023-11-08 10:15:17 +0100
  • 43974c6d6c Fix build on x86 fed 2023-11-08 10:15:17 +0100
  • c1992535de Demonstrate insert with select (#539) Roland Bock 2023-11-03 07:23:34 +0100
  • 451e337979 Introduce postgresql::remove_from with optional returning clause (#538) Roland Bock 2023-10-31 06:44:17 +0100
  • de48e5d996 Introduce postgresql::remove_from with optional returning clause postgresql_remove_returning Roland Bock 2023-10-31 06:44:17 +0100
  • 9e19911ada Fix compile issue for VS2015.3 (#536) Roland Bock 2023-10-21 09:20:07 +0200
  • 96fb4d7894 Add comparison operator serialization tests Roland Bock 2023-10-14 09:03:46 +0200
  • 7b755b68ad Fix warning for greater_equal operator. Stanislav Korolev 2023-10-12 17:27:00 +0300
  • 507e822543 Fix warning for greater_equal operator. Stanislav Korolev 2023-10-12 17:27:00 +0300
  • 50aa733fec [mysql] Remove (auto-)reconnect Roland Bock 2023-10-08 11:34:59 +0200
  • 2c198830c0
    Merge 6dba3ca82f into 7f04435576 Damian Tomczak 2023-10-03 09:45:43 +0200
  • 7f04435576
    Connection pools documentation and example (#533) 0.64 MeanSquaredError 2023-10-03 10:45:21 +0300
  • ef2cd848fb Add documentation about the connection pools. Expand the documentation about multi-threading issues. MeanSquaredError 2023-09-30 06:01:52 +0300
  • 322f84b033 Add an example of using a connection pool. MeanSquaredError 2023-09-30 00:22:50 +0300
  • a2d884dab6 Maybe fix compile error on AppVeyor Roland Bock 2023-10-01 20:11:57 +0200
  • a0a4f19c4b (Maybe) fix test compilation error on AppVeyor Roland Bock 2023-10-01 19:56:28 +0200
  • 1d4641ff05 Fix use-after-scope-exit in connection pool tests Roland Bock 2023-10-01 19:31:19 +0200
  • 0bddd3c739 Rename head/tail to back/front Roland Bock 2023-10-01 18:35:08 +0200
  • 4616450af1 Simplify logic for circular_buffer<T>::set_capacity Roland Bock 2023-10-01 15:10:15 +0200
  • ea9bd9ee32 Add tests for circular buffer Roland Bock 2023-10-01 14:49:02 +0200
  • 1b074b7f62 clang-format circular_buffer.h Roland Bock 2023-10-01 10:00:29 +0200
  • 6dba3ca82f Merge branch 'main' of https://github.com/damian-tomczak/sqlpp11 damian-tomczak 2023-09-26 19:07:58 +0200
  • 8b93d41611 another review fix damian-tomczak 2023-09-26 19:07:00 +0200
  • ffc5a27992 review fix damian-tomczak 2023-09-25 11:05:44 +0200
  • cd1f88de4b review fix damian-tomczak 2023-09-25 11:05:44 +0200
  • 4b75ccc7a3 reconnect option is now deprecated damian-tomczak 2023-09-21 15:18:25 +0200
  • 623b5154d0
    Add connection methods is_connected() and ping_server() (#528) MeanSquaredError 2023-09-20 07:38:16 +0300
  • 5181fb9f65 Add tests for the connection methods is_connected() and ping_server(). MeanSquaredError 2023-09-09 10:13:56 +0300
  • 521f641a19 Remove unused #include and add mising #include. MeanSquaredError 2023-09-09 01:54:33 +0300
  • 02831871ca Add the methods is_connected() and ping_server() to the connection template class. MeanSquaredError 2023-09-09 01:16:25 +0300
  • ae6d785e06 When a connections is fetched from a pool perform a validity check which can be one of none, passive or ping. MeanSquaredError 2023-09-06 04:42:16 +0300
  • 2097056175 Replace connection handle method check_connection() with is_connected() and ping_server() MeanSquaredError 2023-08-22 02:24:22 +0300
  • 8d92e7bb81
    Add sqlpp::compat::make_unique (#527) MeanSquaredError 2023-09-16 10:21:05 +0300
  • 901de8418e Add tests for sqlpp::compat::make_unique MeanSquaredError 2023-09-14 23:48:09 +0300
  • 088dd0e2dd Add sqlpp::compat::make_unique which calls std::make_unique in C++14 or newer and falls back to a custom implementation in C++11 mode. MeanSquaredError 2023-09-14 22:59:16 +0300
  • 8dde3bbfcc Replace std::decay_t -> std::decay::type. Do not use lambda capture initializers. MeanSquaredError 2023-09-15 00:46:06 +0300
  • c65e660435
    Fix handling of "-DSQLPP11_TESTS_CXX_STD=..." in tests/core/serialize/CMakeLists.txt (#525) MeanSquaredError 2023-09-15 07:41:58 +0300
  • b6589e3d4d Replace std::decay_t -> std::decay::type. Do not use lambda capture initializers. MeanSquaredError 2023-09-15 00:46:06 +0300
  • 20a359ee76 Fix handling of "-DSQLPP11_TESTS_CXX_STD=..." in tests/core/serialize/CMakeLists.txt MeanSquaredError 2023-09-14 23:55:48 +0300
  • 001054de48 Replace std::make_unique<T>(..) with std::unique_ptr{new T{...}} for C++11 compatibility. MeanSquaredError 2023-09-13 06:14:49 +0300
  • 25bca54ba7
    Replace regex-based date/time parsing with manual parser (#520) MeanSquaredError 2023-09-07 07:23:44 +0300
  • af76525be0 Add date/time parser tests. MeanSquaredError 2023-09-02 09:07:01 +0300
  • 139d128813 Replace regex-based date/time string parsing with manually written parsing code. MeanSquaredError 2023-08-27 19:31:03 +0300
  • 1cd47c77dd
    Move method definitions inside corresponding classes (#521) MeanSquaredError 2023-09-01 07:19:04 +0300
  • 10abdb626e clang-format include/sqlpp11/connection_pool.h MeanSquaredError 2023-08-31 14:08:14 +0300
  • c8f2335471 clang-format include/sqlpp11/connection.h MeanSquaredError 2023-08-31 14:06:13 +0300
  • 6ac452b08d Move the method definitions of sqlpp::connection_pool inside the class. Change indentation style from K&R to Allman. MeanSquaredError 2023-08-29 00:46:27 +0300
  • 8c00e921c0 Move the method definitions of sqlpp::connection_pool::pool_core inside the class. Change indentation style from K&R to Allman. MeanSquaredError 2023-08-28 22:52:48 +0300
  • 49fc35200a Move the method definitions of sqlpp::pooled_connection inside the class. Change indentation style from K&R to Allman. MeanSquaredError 2023-08-28 20:50:31 +0300
  • b2e4031be4 Move the method definitions of sqlpp::normal_connection inside the class. MeanSquaredError 2023-08-28 20:42:36 +0300
  • e7b50dadd4 Fix a false test failure in the sqlpp11.mysql.usage.DateTime caused by rounding down a timepoint. MeanSquaredError 2023-08-23 05:33:55 +0300
  • 86b05596ae Fix a false test failure in the sqlpp11.mysql.usage.DateTime caused by rounding down a timepoint. MeanSquaredError 2023-08-23 05:33:55 +0300
  • 348511d078
    A couple of minor cleanups in the PostgreSQL connector (#518) MeanSquaredError 2023-08-23 08:19:06 +0300
  • e90cccdf36 Move the method definitions for sqlpp::postgresql::detail::connection_handle inside the class. MeanSquaredError 2023-08-22 02:33:51 +0300
  • 6f1a5b44a8 Replace ()-init with {}-init MeanSquaredError 2023-08-22 02:27:21 +0300
  • d0dc081625
    Unify date/time value parsing in connectors (#517) MeanSquaredError 2023-08-20 11:39:53 +0300
  • d048fffc6e Use regular expressions to parse date/time strings in the SQLite3 connector MeanSquaredError 2023-08-20 01:04:21 +0300
  • c496fe65e1 Use the common date/time-parsing functions to parse the MySQL date/time results. MeanSquaredError 2023-08-19 16:28:07 +0300
  • 73c381705f Move the PostgreSQL date/time parsing code to common functions in sqlpp::detail MeanSquaredError 2023-08-19 15:42:08 +0300
  • fdbfbc345e Replace ()-initialization with {}-initialization in the SQLite3 connector code. MeanSquaredError 2023-08-18 15:27:31 +0300
  • 90dfc2e58d Replace ()-initialization with {}-initialization in the SQLite3 connector code. MeanSquaredError 2023-08-18 15:27:31 +0300
  • f7ad116ced Change method parameter type "const std::string" -> "const std::string&" MeanSquaredError 2023-08-13 03:14:00 +0300
  • c550dca89e
    Cleanup SQLite3 connector code (#514) MeanSquaredError 2023-08-17 08:26:54 +0300
  • d3937d7626 Change method parameter type "const std::string" -> "const std::string&" MeanSquaredError 2023-08-13 03:14:00 +0300
  • 5445111b56 Rename method parameter from CamelCase to snake_case. MeanSquaredError 2023-08-13 03:00:28 +0300
  • 8e8a759368 Move initialization of sqlpp::sqlite3::detail::prepared_statement_handle_t data members from the constructor into the member initialization list. MeanSquaredError 2023-08-13 02:46:11 +0300
  • 1d660a9c86 Remove a superfluous function that forwards the call to sqlite3_close(). MeanSquaredError 2023-08-13 02:36:49 +0300
  • 3ecfd7b94b Change method argument types "const std::string" -> "const std::string&" MeanSquaredError 2023-08-13 02:22:55 +0300
  • ac01c1d5e1 Add const qualifiers to sqlpp::mysql::context_t::escape() and its parameter. MeanSquaredError 2023-08-13 02:16:36 +0300
  • ca076e18ee Rename sqlpp::sqlite3::serializer_t -> sqlpp::sqlite3::context_t MeanSquaredError 2023-08-13 02:07:44 +0300
  • 1668c29b61 Move the code for sqlpp::sqlite3::detail::connection_handle to include/sqlpp11/sqlite3/detail/connection_handle.h MeanSquaredError 2023-08-13 01:47:33 +0300
  • f897bb7137 Whitespace MeanSquaredError 2023-08-13 01:28:32 +0300
  • a93a117c39 Move the code for sqlpp::sqlite3::detail::prepared_statement_handle_t to include/sqlpp11/sqlite3/detail/prepared_statement_handle.h MeanSquaredError 2023-08-13 01:15:27 +0300
  • 4a9da95fda
    Use brace-style initialization wherever possible. (#512) MeanSquaredError 2023-08-10 18:02:12 +0300
  • 976df37ea6 Use brace-style initialization wherever possible. MeanSquaredError 2023-08-04 17:10:06 +0300
  • d800f4d6fa
    Cleanup the code of the MySQL connector (#511) MeanSquaredError 2023-08-07 20:37:59 +0300
  • d315e91e3f Rename class/struct types, variables and functions from CamelCase to snake_case. MeanSquaredError 2023-08-02 04:19:53 +0300
  • ecbb2bfc2f Remove superfluous detail:: namespace qualification. MeanSquaredError 2023-08-03 15:19:55 +0300
  • 9206482370 Replace "std::string" parameters with "const std::string&". MeanSquaredError 2023-08-02 04:32:15 +0300
  • e8b1e9ff20 Remove a superfluous function that forwards the call to PQFinish(). MeanSquaredError 2023-08-03 18:36:24 +0300