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
e6f6e13060
Refactored integ tests
...
Added IntegTestAfterHandshake
Refactored all tests to use validate_no_error()
2020-02-05 11:24:40 +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
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
328a923f3a
Added documentation for error_info
2020-01-19 16:41:54 +00:00
ruben
bd48d28ca9
Added unit tests for error_to_string
2020-01-19 16:17:16 +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
2ee0593644
Added verification of clearing of error codes
2020-01-19 12:32:21 +00:00
ruben
cd16098233
Added missing rethrow on integ test setup error
2020-01-19 11:47:33 +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
a84cc52766
Corrected channel read unit tests
2020-01-18 20:25:09 +00:00
ruben
a65e86af1d
Added error_info
2020-01-18 20:05:21 +00:00
ruben
034ab38f05
Recovered Mac in .travis.yml
2020-01-14 23:35:19 +00:00
ruben
71c691e447
Temporarily removed mac from .travis.yml
2020-01-14 23:32:49 +00:00
anarthal
dcb8dbee6d
Made run_tests.sh executable
2020-01-14 22:34:16 +00:00
anarthal
54f72e37ed
Made test scripts work under Windows
...
Solved problem with integration tests under MySQL 8.x (due to default auth plugin for root)
2020-01-14 22:26:29 +00:00
anarthal
d48142e8f2
Added missing u8 string prefix in query_types.cpp
2020-01-14 16:51:02 +01:00
anarthal
59afa25b6b
Added missing FLUSH PRIVILEGES at the end of db_setup
2020-01-14 16:50:48 +01:00