2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-16 01:22:20 +00:00

518 Commits

Author SHA1 Message Date
Ruben Perez
981c2b34d7 Escaped special chars in readme 0.0.0 2021-03-10 21:18:57 +01:00
Ruben Perez
85c40a2e83 Updated README title to be more clear 2021-03-10 21:17:35 +01:00
Ruben Perez
201cf3924a Added missing badge in readme 2021-03-09 08:28:35 +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
53da045c2c Workaround MSVC internal issue 2021-03-07 20:03:59 +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 Perez
dd2447c6cb Updated Boost version to 1.75.0
commit 5d0dafa324453ce731ddd2a427fa68490843b6c6
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 18:52:52 2020 +0100

    Added missing test exlussion on Windows

commit 52f1ce1eb6f43478451ee1c9761efa9a1f0c85bf
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 18:05:47 2020 +0100

    Trying to fix PS syntax errors 2

commit d680a874b069b8cc6c7965b226cda02f49438206
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 17:58:30 2020 +0100

    Fixing PS syntax errors

commit 84915ac269714fcfbfc6dc9e6ce10aefa395d33a
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 17:52:14 2020 +0100

    Changed Windows CMake builds to use latest Boost

commit 75aa757ae50f9c9d31cdb8018cf14e1dea5e6530
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 16:07:25 2020 +0100

    Removed conflictive build config under Windows

commit 7cd77f9204b842999233f8c6782caa3fbbf15a89
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Mon Dec 14 20:09:23 2020 +0100

    Desperate try to fix MSVC internal errors 2

commit f81de256735b1a705d03a7994cfecbce1a7581d4
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 20:44:59 2020 +0100

    Desperate try to fix stuff

commit 3a8f8d1caf8e8d906a7d96ba7edf62f2e3b09651
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 18:48:33 2020 +0100

    Reverted to using env var

commit 420427989274036fd04351531bdae2ebde621f5f
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 16:55:17 2020 +0100

    Changed CMake way of excluding tests to match b2's

commit 1db13f9e3df346135dadb1c2686ecafc0fe6c2df
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 16:33:05 2020 +0100

    Updated B2 CIs to explicitly run certain tests

commit 12700b387beb99f2ac1cf342291bc63f49d26a99
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 16:14:47 2020 +0100

    Updated test selection (sha256/unix) in b2

commit 0f23bddeb64203e5c570280e5e1de4a5ae083f94
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 16:14:34 2020 +0100

    Added internal script to setup b2 env

commit 13cf6b102b0d71f5496bcd433e3269ea297a9f26
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 14:00:30 2020 +0100

    Added option to skip UNIX socket tests (only cmake)

commit a35f668ae0a968ef01eb6517d9de86c45e07dceb
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sat Dec 12 21:38:06 2020 +0100

    Attempted to correct test filter problem

commit 29282e5a4fa6e4f5b7c5de56662b9cbea7758e06
Author: anarthal <rubenperez038@gmail.com>
Date:   Sat Dec 12 11:27:53 2020 -0800

    Fixes to build in MSVC

commit bc8599358435de946cba10cc7cbdc264bb793e5b
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sat Dec 5 13:57:56 2020 +0100

    Reduced concurrency on Unix cmake builds

commit 3e183277cb2b3c4480ec102f956a4683811d3f44
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Fri Dec 4 17:50:31 2020 +0100

    Test ssh keys

commit d91a4ebdb65444da1c5952444c571dc68de1cd7b
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Nov 29 19:59:07 2020 +0100

    Remove TODO.txt in favor of GitHub issues

commit fbe5e58966304b6fd87029af4657e6ed1aa2f2fd
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Nov 29 19:58:25 2020 +0100

    Updated to build with 1.75
2020-12-20 21:20:23 +01:00
Ruben Perez
94c44f43e6 Fixed badges in README.md 2020-11-29 18:23:47 +01:00
Ruben Perez
90008e727d Updated TODO 2020-11-29 14:14:50 +01:00
ruben
4c291205d1 Updated README 2020-07-07 14:38:23 +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
9bba29e483 Added CMake target exports and install rules 2020-06-04 15:57:31 +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
76f8123e37 Migrated CIs to use Boost 1.73.0 2020-05-21 16:11:15 +01:00
ruben
ecfdb612e3 Updated docs 2020-05-19 10:32:08 +01:00
ruben
129ce6b7ac Fixed overflow bug in text deserialization tests in win32 2020-05-19 09:52:40 +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
ccc2d86a51 Updated TODO 2020-05-18 12:55:50 +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
9346225096 Updated TODO 2020-05-13 18:40:59 +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
22be55cb00 Added deserialization tests for unknown protocol type 2020-05-12 11:10:45 +01:00
ruben
5fb02cfe58 Added missing test file 2020-05-12 11:07:19 +01:00
ruben
548d618cb9 Refactored row deserialization tests 2020-05-12 11:04:49 +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
ee4b4e8422 Removed unused deserialization error text fixture 2020-05-11 16:59:18 +01:00
ruben
10761729be Added integration tests for invalid dates 2020-05-11 16:48:11 +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
55a959d8a6 Added binary deserialization tests for invalid DATEs 2020-05-09 21:51:17 +01:00
ruben
ab9d82a18a Completed binary_serialization tests 2020-05-09 20:03:18 +01:00
ruben
7c455009ba Reduced code duplication in binary serialize test 2020-05-09 19:43:04 +01:00