2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-16 13:32:15 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
ruben
81d6482eb7 Now network tests exercise async functions
Now statement::async_execute perform adequate param checking
2020-02-10 04:26:27 +00:00
ruben
f7430308f5 Added async API for prepared statements 2020-02-07 23:45:43 +00:00
ruben
2189db26ef Added async_execute_statement 2020-02-07 23:14:57 +00:00
ruben
7fa3865733 Added async_prepare_statement 2020-02-07 23:05:39 +00:00
ruben
8c46059db2 Added resultset tests for binary protocol
Split resultset tests out of query tests
Parameterized resultset tests so they are run with both text and binary
protocol
Fixed bug in binary deserialization (we were not skipping the message
type byte in deserialize_binary_row)
2020-02-06 00:22:07 +00:00
ruben
7925702418 New integ test system to avoid code duplication 2020-02-05 23:36:12 +00:00
ruben
c2765d5b7b Added tests for statement execute (collection) 2020-02-05 12:52:21 +00:00
ruben
e0f83bf1c1 Added prepared_statement::execute tests
Fixed bug in prepare_statement (was not reading metadata packets after
the prepared statement response)
Added stringize()
Now execute() explicitly checks the number of parameters and issues an
error if they don't match the expected count
2020-02-05 12:44:33 +00:00
ruben
87b6e65a32 Added connection::prepare_statement sync exc 2020-02-05 11:38:38 +00:00
ruben
064bcee82a Added connection::prepare_statement sync errc test
Fixed build issues
2020-02-05 11:14:30 +00:00
ruben
8ce2f22961 Added prepared_statement::execute and unit tests 2020-02-05 07:40:12 +00:00
ruben
ab03605bc1 Added prepared_statement class 2020-02-03 22:20:01 +00:00
ruben
2587938f9d Added prepared statements network algos 2020-02-03 22:19:40 +00:00
ruben
27bafae3cb Generalized stmt_execute message iterators 2020-02-03 22:10:04 +00:00
ruben
fa9456af5d Generalized read_text_row to read_row 2020-02-03 20:22:25 +00:00
ruben
68fe862fa9 Generalized execute_query to generic_execute 2020-02-03 19:39:50 +00:00
ruben
4fbf6fae30 Renamed fetch_text_row to read_text_row 2020-02-03 18:04:11 +00:00
ruben
18636f4de1 Net algos now use channel<StreamType> 2020-02-03 16:52:41 +00:00
ruben
c82c61c2f4 Moved all network algorithms into a separate dir 2020-02-03 16:15:20 +00:00
ruben
68e26739b9 Added error tests for binary_deserialization
Fixed buffer overrun if no space is available for NULL bitmap
2020-02-02 11:23:55 +00:00
ruben
675834bb3c Added deserialize_binary_row tests
Fixed bugs within deserialize_binary_row
2020-02-01 12:38:12 +00:00
ruben
8e875dc848 Added binary deserialization
Added is_one_of
Corrected some wrong flags in text_deserialization
Added tests for deserialize_binary_value
2020-02-01 11:39:12 +00:00
ruben
8d6c1bbaf7 Now years are represented as plain ints
Now values do not have ::date::year as an option;
represented as plain uint32_t instead
2020-01-31 13:06:21 +00:00
ruben
e949859783 Added stmt close message and serialization 2020-01-31 12:32:48 +00:00
ruben
0345991059 Completed serializ tests for ComStmtExecute
Now serialization tests provide better diagnostics
2020-01-30 15:16:53 +00:00
ruben
59adbf8d89 Added Stmt Exec serialization test infrastructure
Fixed uninitialized memory problem in NULL bitmap serialization
2020-01-30 12:21:16 +00:00
ruben
88e1d39992 Added serialization tests for time
Fixed bug for negative times
2020-01-29 20:58:36 +00:00
ruben
766ba57a02 Added tests for datetime serialization
Fixed bug
2020-01-29 20:25:42 +00:00
ruben
b0df3bea99 Added serialization of binary protocol values
time, date, datetime, value
No tests yet
2020-01-28 11:11:53 +00:00
ruben
9f960bbe4a Added null_bitmap_traits 2020-01-26 14:22:38 +00:00
ruben
4ef40c2bf1 Added stmt_prepare msg and serialization 2020-01-26 12:49:52 +00:00
ruben
328a923f3a Added documentation for error_info 2020-01-19 16:41:54 +00:00
ruben
c00282f10b Fixed duplication in exception error messages 2020-01-19 16:16:36 +00:00
ruben
161ac3264f Changed error descriptions to be simpler 2020-01-19 15:54:59 +00:00
ruben
ea5479706a Added error code descriptions for server-side errs 2020-01-19 15:47:15 +00:00
ruben
62c5675160 Added tests for sync exc error messages 2020-01-19 11:41:16 +00:00
ruben
8c2a19ca18 Now mysql error category is an inline vble 2020-01-18 21:04:10 +00:00
ruben
a65e86af1d Added error_info 2020-01-18 20:05:21 +00:00
ruben
203765459b Sanitized CMake
Now mysql_asio propagates the right C++ standard
Now tests are built conditionally
Now unit tests are inside their own subdirectory
2020-01-14 11:30:26 +00:00
ruben
38c0da531a Finished doxygen comments for resultset 2020-01-14 09:56:52 +00:00
ruben
def1a8febc Doxygen comments for connection and resultset (1/2) 2020-01-13 22:39:51 +00:00
anarthal
09c737b417 Changes to build in MSVC 2020-01-13 17:28:05 +01:00
ruben
3636983e4c Changes to make code build with g++ release 2020-01-13 12:34:32 +00:00
ruben
7bdb287128 Now struct with fields use a separate trait
Required to build in Windows
2020-01-13 11:09:22 +00:00
ruben
e33f62a8cb Moved msgs into namespace detail 2020-01-13 10:45:50 +00:00
ruben
84006c36b8 Modified value_holder so it builds with clang 2020-01-12 15:39:40 +00:00
ruben
e3a067d324 Increased warning level
Now examples and tests compile with more strict warning levels
Now warnings are treated like errors
Now test has its own CMakeLists.txt
Solved several warnings
2020-01-12 14:17:10 +00:00
ruben
331df43725 Added sync examples 2020-01-10 15:32:01 +00:00
ruben
b4caa94958 Enhaced connection_params interface 2020-01-09 16:17:57 +00:00
ruben
6f12fc21ef Unified include guards 2020-01-09 15:57:54 +00:00