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

281 Commits

Author SHA1 Message Date
Ruben Perez
d7833401a0 read_one_row algorithm 2022-07-29 17:37:24 +02:00
Ruben Perez
b49893421f More network_algorithms conversion 2022-07-29 16:00:59 +02:00
Ruben Perez
ae91cb3385 New impl for handshake, execute and close 2022-07-28 23:38:57 +02:00
Ruben Perez
7e01afaca9 New connection iface 2022-07-27 21:17:03 +02:00
Ruben Perez
77e98230a3 rows_view 2022-07-26 13:30:03 +02:00
Ruben Perez
e431940ae3 New row, row_view and rows iface 2022-07-26 12:52:59 +02:00
Ruben Perez
0334dcbd13 New channel 2022-07-24 21:18:49 +02:00
Ruben Perez
27b67b9724 Message reader first impl 2022-07-19 13:03:29 +02:00
Ruben Perez
17567dec89 New read_buffer 2022-07-18 18:18:48 +02:00
Ruben Perez
ada86b6753 Merge branch 'develop' into buffering 2022-07-14 14:39:33 +02:00
Ruben Perez
214978f8a9 Fix issue in MSVC with concepts
closes #100
2022-06-15 11:55:07 +02:00
Ruben Perez
a48287e047 Added connection::next_layer_type 2022-05-19 00:26:48 +02:00
Ruben Perez
995442c3ec Disableable ssl stream impl 2022-04-06 11:58:41 +02:00
Ruben Perez
13d3615464 Example and docs on timeouts and cancellations 2022-03-30 15:54:58 +02:00
Ruben Perez
6dc9b8e7ff disableable_ssl_stream (1st v) 2022-03-29 10:22:25 +02:00
Ruben Perez
dc29615985 read_frame 2022-03-27 23:01:21 +02:00
Ruben Perez
b481ad5d07 read_frame_part 2022-03-27 21:57:23 +02:00
Ruben Perez
f57ae348b4 read_buffer class 2022-03-27 19:01:22 +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
7bbf5acda6 Fixed issue when reconnecting a connection
closes #24
2021-03-09 08:24:39 +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 Perez
087faf187a Added execute_params
- Added execute_params
- prepared_statement::execute with iterators overload has been replaced by
execute_params overload
- Added type requirement checks for ValueForwardIterator and
ValueCollection
2021-02-28 22:05:31 +01:00
Ruben Perez
4c7ca0a1b4 Row reading reworks
- Removed distinction between row and owning_row
- Changed semantics for fetch_one to row& + bool
- Renamed all fetch_* fns to read_*
- Added row.clear()
2021-02-28 22:03:28 +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
ddb3f14081 Removed date.h library 2020-06-21 15:49:30 +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
cf2fd03926 Added support for default completion tokens 2020-06-02 12:16:13 +01:00
Richard Hodges
3c420b8683 Added support for use_awaitable
Co-authored-by: ruben <rubenperez038@gmail.com>
Co-authored-by: Alex Hodges <alexander.hodges11@live.co.uk>
2020-06-02 12:11:48 +01:00
ruben
ecfdb612e3 Updated docs 2020-05-19 10:32:08 +01:00
ruben
eaf9801e2f Made to_variant (temporarily) not constexpr 2020-05-18 19:16:36 +01:00
ruben
9e0db3959f Fixed narrowing conversion warnings in Windows 2020-05-18 19:16:10 +01:00
ruben
4c0d9a9291 Fixed bug in operator<< for value for time 2020-05-18 12:54:04 +01:00
ruben
caa1f6d950 Implemented conversions and added tests 2020-05-18 12:20:20 +01:00
ruben
0fbb6d28b3 Implemented value remaining functions 2020-05-17 15:30:19 +01:00
ruben
157e95d717 Removed 32bit ints from value::variant_type 2020-05-17 13:00:43 +01:00
ruben
3e10845104 Made value a proper class 2020-05-16 17:30:30 +01:00
ruben
6c53228655 Solved warning for GCC 7.4 2020-05-12 17:20:33 +01:00
ruben
92cd3569a3 Unified (de)serialize with (de)serialize_fields 2020-05-12 15:13:23 +01:00
ruben
4b71760ff3 Added docs on value handling, made limits public 2020-05-12 12:42:57 +01:00
ruben
b4744a1749 Corrected include guards 2020-05-12 11:12:03 +01:00
ruben
90ca918308 Fixed overflow bug for DATETIMES
In text deserialization, for 32 bit systems
2020-05-12 10:27:17 +01:00
ruben
f5a17cdf7e Now text protocol supports invalid dates
Changed text protocol to support invalid dates and datetimes
Added tests
Now months greater than 12, days greater than 31, years greater than
9999 are always rejected
2020-05-11 13:21:29 +01:00
ruben
fdf2662b60 Improved error detection in DATETIME bin deseriaiz
Now DATETIMEs with invalid dates and invalid hours/mins/secs/micros are
considered an error. Added tests.
2020-05-11 09:20:22 +01:00
ruben
6c4364d246 Fixed bug in binary deserialization of invalid datetimes
Added tests to prove it works
2020-05-10 17:02:12 +01:00
ruben
6b6c3d77e0 Added binary deserialize error tests for TIME 2020-05-09 19:26:27 +01:00
ruben
601ad90851 Added range check for DATETIME binary deserializ
Completed DATETIME binary deserialization tests
2020-05-09 17:12:28 +01:00