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

41 Commits

Author SHA1 Message Date
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
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
380ba1310d Refactored CMake 2020-04-19 12:20:04 +01:00
ruben
fc95a15d52 Memcheck tests now run as regular tests 2020-04-19 10:59:30 +01:00
ruben
767b79a6f6 Added basic memcheck 2020-04-18 11:36:31 +01:00
ruben
86c60f9428 Now examples are run directly from CMake 2020-04-16 17:54:49 +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
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
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
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
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
0345991059 Completed serializ tests for ComStmtExecute
Now serialization tests provide better diagnostics
2020-01-30 15:16:53 +00:00
ruben
8aa2221a4d Added serialization tests for date 2020-01-29 18:00:20 +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
anarthal
09c737b417 Changes to build in MSVC 2020-01-13 17:28:05 +01:00
ruben
c2cebd1560 Completed query types tests 2020-01-09 14:42:43 +00:00
ruben
0a280fd6d5 Added query types tests for BINARY types 2020-01-08 19:36:46 +00:00
ruben
ee8baae603 Added query types tests for TIME 2020-01-08 16:26:01 +00:00
ruben
1620aed11e Implemented operator<< for value 2019-12-21 19:35:41 +00:00
ruben
f7e1be7dbd Added async_fetch_one, dropped per row meta 2019-12-08 19:20:14 +00:00
ruben
d9f9bbbbe6 Completed integ tests for fetch_many 2019-12-07 21:41:14 +00:00
ruben
d246557cd8 Added operator== and != for value 2019-12-07 20:41:26 +00:00