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

230 Commits

Author SHA1 Message Date
ruben
a76caa8a83 Refactored binary protocol magic numbers
Fixed wider ranges for DATE and DATETIME
Removed old binary (de)serialization functions
2020-05-08 16:54:22 +01:00
ruben
d71695b3d4 Moved binary serialization into a separate file 2020-05-05 10:57:33 +01:00
ruben
aadd8213ad Added binary deserialization error tests 2020-05-04 20:21:28 +01:00
ruben
b4039c0ffa Simplified binary deserialization impl 2020-05-04 15:35:50 +01:00
ruben
a35671a7ef Improved text deserializ error handling
Added more tests for text deserialization
Corrected some previous tests
Added code to handle some corner cases more gracefully
Refactored
2020-05-03 15:23:40 +01:00
ruben
fa8c11d784 Added deserialize text value err tests for DATETIME 2020-05-02 19:34:47 +01:00
ruben
81db48a085 Added deserialize_test_value err tests, int and float 2020-05-02 12:52:34 +01:00
ruben
ed019adaa9 Changed if stmts to make coverage more representative 2020-05-02 09:27:57 +01:00
ruben
1d52822707 Regularized error code includes 2020-04-25 19:32:53 +01:00
ruben
3ae36b8653 Converted SHA256 env var in a CMake option
TODO cleaning
2020-04-24 14:11:55 +01:00
ruben
7a436895ce Reworked how integration tests do connect 2020-04-24 13:17:38 +01:00
ruben
ec29af7bef Updated docs 2020-04-24 13:06:18 +01:00
ruben
2e96142ebb Split socket-specific methods to socket_connection 2020-04-24 12:35:06 +01:00
ruben
42a921d055 Added connection::connect 2020-04-24 11:54:54 +01:00
ruben
9ebaf321d6 Replaced yield/reenter by full name macros 2020-04-23 15:16:29 +01:00
ruben
53bc5f31c6 Added error_block as helper for sync exc impls 2020-04-23 14:46:31 +01:00
ruben
6c35693edf Simplified channel 2020-04-23 14:27:32 +01:00
ruben
a5da4451fb Updated channel to use async_op
Moved async_op into channel definition header
2020-04-23 14:11:21 +01:00
ruben
6924d0c813 Added async_op
Refactored all network algorithms to use it
Split quit into separate file
2020-04-22 22:56:59 +01:00
ruben
7a256bc274 Attempt to resolve close errors in OSX 2020-04-22 16:11:33 +01:00
ruben
49a505f346 Added clear_errors helper function 2020-04-22 14:02:35 +01:00
ruben
482983352e Added quit and close docs 2020-04-22 13:45:33 +01:00
ruben
ad82222828 Added connection close 2020-04-22 12:28:02 +01:00
ruben
f49ff4dc1f Added basic quit 2020-04-21 19:47:21 +01:00
ruben
ff14e79a5d Fixed missing maybe_unused in static_string 2020-04-21 15:44:48 +01:00
ruben
3862498fb3 Added static_string
Replaced fragile handshake_message static_string emulation by a proper
class
Added unit tests for static_string
2020-04-21 15:10:38 +01:00
ruben
ec80016bad Now endianness conversion is applied on the ints
Previously it was applied on the value_holder's
2020-04-21 13:12:40 +01:00
ruben
b0b7f0ce63 Refactored error code to description impl 2020-04-21 12:28:27 +01:00
ruben
536fa59cec Added wrapper mysql.hpp file 2020-04-20 12:15:24 +01:00
ruben
a54c83ef6a Replaced tabs for spaces 2020-04-20 11:36:31 +01:00
ruben
16ef83b136 Added copyrights 2020-04-20 11:18:52 +01:00
ruben
21dbbc308f Made valgrind_make_mem_defined call conditional 2020-04-19 11:24:29 +01:00
ruben
767b79a6f6 Added basic memcheck 2020-04-18 11:36:31 +01:00
ruben
2808deacb3 Added documentation for UNIX typedefs 2020-04-15 18:27:34 +01:00
ruben
d94bc75f00 Added UNIX typedefs and an example 2020-04-13 16:33:46 +01:00
ruben
e0f72d62ef Added Doxyfile and doxygen infrastructure 2020-04-07 17:19:38 +01:00
ruben
db7f0c38a6 Enhanced remaining doxygen docs 2020-04-07 15:54:41 +01:00
ruben
da2e13848a Reviewed doxygen docs (connection & params) 2020-04-07 15:20:46 +01:00
ruben
9bf70a31e3 Refactored auth calculation 2020-04-07 11:37:40 +01:00
ruben
745064c009 Corrected handshake algorithm
Added integ tests for caching_sha256_password
2020-04-06 13:21:05 +01:00
ruben
1f5e060e37 Added first version of caching_sha2_password 2020-04-05 18:54:24 +01:00
ruben
12e6ce9c38 Added ssl_mode::enable 2020-04-05 15:46:25 +01:00
ruben
710dd558db Updated docs on SSL 2020-04-05 14:56:18 +01:00
ruben
e8a9a2855a Made SSL objects in channel lazy 2020-04-05 14:43:38 +01:00
ruben
a9a0710b11 Simplified error handling in coroutines 2020-04-05 13:33:41 +01:00
ruben
008068e909 Moved connection_params to a separate file
Made it a proper class
Added ssl_options
Removed handshake_params
2020-04-04 18:19:55 +01:00
ruben
5bfeb02ad9 Changed Appveyor SSL setup 2020-04-04 17:59:29 +01:00
ruben
48f60996b0 Fixed dangling pointer in handshake 2020-04-04 17:21:35 +01:00
ruben
a7c1e12d65 Initial prototype for SSL connections 2020-04-04 13:39:38 +01:00
ruben
ce748bfffc Changed CompletionToken checking to be SFINAE-friendly 2020-04-03 18:18:06 +01:00