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

35 Commits

Author SHA1 Message Date
ruben
26c57e92dd Split serialization tests into multiple files
Converted string_fixed into a plain array
2020-03-21 19:01:51 +00:00
ruben
db1e3005bb Converted serialization to a trait-based system 2020-03-21 17:12:53 +00:00
ruben
3ffff318d2 Split serialization and messages into several files 2020-03-20 18:12:53 +00:00
ruben
2b8f2000cf Refactored float serialization 2020-03-20 15:23:28 +00:00
ruben
c04ec3f528 Renamed (de)serialization contexts 2020-03-19 17:45:09 +00:00
ruben
0f86d72489 Renamed Error enum to errc 2020-03-19 17:40:24 +00:00
ruben
4260bac19b Renamed all 'errc' variables to 'code' 2020-03-19 17:35:08 +00:00
ruben
afdc3bfd19 Moved all names into namespace boost::mysql 2020-03-19 17:19:43 +00:00
ruben
dafe0fa1d4 Refactor file structure to not conflict with mysql
Now all includes live within boost
Corrected convention for .hpp and .ipp
Corrected convention for impl/detail
Now detail is split into auth/aux/protocol/network_algorithms
2020-03-17 12:22:05 +00:00
ruben
8309444932 Now empty packets can be written to channel
This fixes the empty password + auth switch bug
Added unit tests in channel to test the issue
2020-03-17 11:02:07 +00:00
ruben
ca2ef34202 Added missing flag in handshake for MariaDB 2020-03-13 21:37:51 +00:00
ruben
965090b021 Changes to build with clang 2020-02-24 03:08:55 +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
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
8ce2f22961 Added prepared_statement::execute and unit tests 2020-02-05 07:40:12 +00:00
ruben
27bafae3cb Generalized stmt_execute message iterators 2020-02-03 22:10:04 +00:00
ruben
7eba75a739 Now paremeterized tests get informative names 2020-02-02 12:16:12 +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
8aa2221a4d Added serialization tests for date 2020-01-29 18:00:20 +00:00
ruben
b2ede181f6 Added serialization tests for floats and doubles 2020-01-29 10:22:13 +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
bd48d28ca9 Added unit tests for error_to_string 2020-01-19 16:17:16 +00:00
ruben
a84cc52766 Corrected channel read unit tests 2020-01-18 20:25:09 +00:00
anarthal
1130688c60 Fixed a wrong move in unittests channel.cpp 2020-01-14 16:30:51 +01: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