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

153 Commits

Author SHA1 Message Date
ruben
bd5dafcbbf Fixed float serialization for boost 1.71+ 2020-02-29 15:04:57 +00:00
ruben
3d7b4d0957 Added missing brace initializer to no stmt params 2020-02-29 13:49:53 +00:00
ruben
14069d6d07 Added missing include in value.hpp 2020-02-29 07:32:14 +00:00
ruben
758ad0e290 Added formal docs for prepared statements 2020-02-25 03:09:02 +00:00
ruben
965090b021 Changes to build with clang 2020-02-24 03:08:55 +00:00
ruben
68884d52d9 Added example for prepared statements 2020-02-22 01:03:29 +00:00
ruben
e4869966d5 Now prepare_statement uses channel shared buffer 2020-02-22 00:22:34 +00:00
ruben
16324e5e9b Now handshake uses channel shared buffer 2020-02-21 22:41:30 +00:00
ruben
5623307138 Added statement close implementation 2020-02-21 22:29:14 +00:00
ruben
547adbf016 Added coverage for TIME in db types
Fixed bug in operator<< for times
Fixed bug in text deserialization for times
2020-02-20 21:45:06 +00:00
ruben
d976e537c1 Changed handshake tests to use new network test infrastructure 2020-02-14 18:20:44 +00:00
ruben
ab4715525b Added tests for connection::async_prepare_statement 2020-02-10 04:45:36 +00:00
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