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

47 Commits

Author SHA1 Message Date
Ruben Perez
4d57d2db08 Renamed conenction_params => async_params 2022-10-07 23:25:03 +02:00
Ruben Perez
86e0eacd6a SSL/TLS and row reading rework (v0.2.0)
* SSL/TLS rework
* Unified connection object
* New prepared_statement::execute interface
* New resultset::read_one mechanic
* Unified row object
* null_t type
* Travis to GitHub actions migration
* Integration test rework
2022-03-21 16:09:48 +01:00
Ruben Perez
fa6f177e0f Added support for the BIT type
- Moved socket_connection to a separate include file.
- Clarified Stream requirements.
- Made make_error_code public.
- Updated include styles to match Boost's.
- Moved <boost/myql/mysql.hpp> to <boost/mysql.hpp> to match
conventions.
- Added support for the BIT type.

closes #13
closes #21
2021-03-08 18:56:25 +01:00
Ruben Perez
1ad31e7a6b TLS cert validation, valid() after moves and others
- Added connection::connection overload accepting a user-defined SSL
context.
- Added SSL certificate validation example.
- Removed ssl_options.
- Fixed an incorrect constexpr implementation
(value::is_convertible_to).
- Made I/O objects' valid() behavior after move operations more uniform.
- Changed exception type thrown by value::get to a custom one defined in
Boost.Mysql.
- Changed docs link in README.

closes #39
closes #27
closes #25
closes #10
2021-03-07 19:41:44 +01:00
Ruben Perez
ade68d172d Added support for relational operators in value
Replaced std::nullptr_t for boost::variant2::monostate in values
Added support for relational operators in value
Automatic docs generation

closes #48
closes #46
2021-03-06 16:35:15 +01:00
ruben
5ba63a8459 Migrated docs to quickbook 2020-07-06 17:56:04 +01:00
ruben
3b91e6e978 Replaced gtest by Boost.Test 2020-06-29 17:17:11 +01:00
ruben
591671bd8d Lowered std requirement to C++11 2020-06-18 22:54:01 +01:00
ruben
3407d818f6 Added support for Boost.Build 2020-06-12 23:44:30 +01:00
ruben
7a436895ce Reworked how integration tests do connect 2020-04-24 13:17:38 +01:00
ruben
42a921d055 Added connection::connect 2020-04-24 11:54:54 +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
30c22f1279 BadUser test is now more resilient 2020-04-16 18:50:36 +01:00
ruben
12fce9c4ec Removed unnecessary semicolons 2020-04-15 17:56:38 +01:00
ruben
805b655e35 Refactored network test functionality 2020-04-15 16:43:39 +01:00
ruben
a7625831d4 Extended tests to run under UNIX sockets 2020-04-15 12:42:38 +01:00
ruben
becd36a73a Added test for unknown auth plugin 2020-04-07 11:58:38 +01:00
ruben
d6957271d2 Restructured handshake integ tests 2020-04-06 17:25:26 +01:00
ruben
7c7f26c4fc Enhanced the test runner scripts for integ tests
Split db_setup.sql into regular + sha256
Added a Python script to conditionally run setup and tests
Modified the logic on SHA256 support
2020-04-06 16:44:12 +01:00
ruben
c06c2eddcd Enhanced unknown user test validations 2020-04-06 15:44:41 +01:00
ruben
e141661a6d Added tests for bad password for caching_sha256 2020-04-06 14:42:21 +01:00
ruben
4fb694d448 Added empty password users for caching_sha2 2020-04-06 13:37:52 +01:00
ruben
745064c009 Corrected handshake algorithm
Added integ tests for caching_sha256_password
2020-04-06 13:21:05 +01:00
ruben
12e6ce9c38 Added ssl_mode::enable 2020-04-05 15:46:25 +01:00
ruben
b18cbd2aa6 Integ tests now run with and without ssl 2020-04-05 12:49:37 +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
0f86d72489 Renamed Error enum to errc 2020-03-19 17:40:24 +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
0a75e1ec4a Recovered empty password handshake integ test 2020-03-16 15:09:37 +00:00
ruben
8842307fad Corrected error code on bad database handshake test 2020-03-14 19:59:30 +00:00
ruben
d976e537c1 Changed handshake tests to use new network test infrastructure 2020-02-14 18:20:44 +00:00
ruben
62c5675160 Added tests for sync exc error messages 2020-01-19 11:41:16 +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
ee8baae603 Added query types tests for TIME 2020-01-08 16:26:01 +00:00
ruben
77779ccf86 Now integ async tests use a thread to run the ctx 2019-12-08 19:27:04 +00:00
ruben
9924ddf391 Made async_query work
Added integration tests
Refactored integration tests boilerplate so it can be shared between
tests
2019-12-07 17:25:04 +00:00
ruben
c50c31c17f Made field_type more user friendly
Old field_type is no longer exposed and is now called
protocol_field_type
Some flags have been un-exposed from field_metadata
2019-11-17 16:25:02 +00:00
ruben
70c12d5ea1 Added collation enumeration
Removed old CharacterSetFirstByte
2019-10-27 18:55:10 +00:00
ruben
11c1712005 Added support for blank password users 2019-10-27 12:22:42 +00:00
ruben
c723d5097f Added handshake without DB tests 2019-10-27 11:14:20 +00:00
ruben
31c6fea687 Implemented sync with exceptions handhsake 2019-10-27 10:57:11 +00:00
ruben
7ac3e616df Implemented async handshake 2019-10-27 10:49:39 +00:00
ruben
bd4b372f98 Added server error codes, fixed bug in handshake 2019-10-25 21:55:02 +01:00
ruben
105c30623b Recovered sync handshake implementation
Added integration test
2019-10-24 13:30:49 +01:00