2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-14 00:42:53 +00:00
Commit Graph

44 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
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
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
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
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
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
b18cbd2aa6 Integ tests now run with and without ssl 2020-04-05 12:49:37 +01:00
ruben
d98e36b733 Added futures to integ tests 2020-03-28 17:28:52 +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
46dc97dd53 Converted query tests into new network style tests 2020-02-14 18:33:04 +00:00
ruben
8c46059db2 Added resultset tests for binary protocol
Split resultset tests out of query tests
Parameterized resultset tests so they are run with both text and binary
protocol
Fixed bug in binary deserialization (we were not skipping the message
type byte in deserialize_binary_row)
2020-02-06 00:22:07 +00:00
ruben
e6f6e13060 Refactored integ tests
Added IntegTestAfterHandshake
Refactored all tests to use validate_no_error()
2020-02-05 11:24:40 +00:00
ruben
2ee0593644 Added verification of clearing of error codes 2020-01-19 12:32:21 +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
5555952623 Now gtest/gmock are fetched within CMake 2020-01-12 18:11:45 +00:00
ruben
93547ed184 Removed support for field-level collation in meta 2020-01-09 14:58:02 +00:00
ruben
c2cebd1560 Completed query types tests 2020-01-09 14:42:43 +00:00
ruben
39ec8e1610 Added QueryTypesTest skeleton 2019-12-21 15:05:25 +00:00
ruben
76e16153dd Added async_fetch_all 2019-12-08 20:00:03 +00:00
ruben
34eff83a3b Added async_fetch_many 2019-12-08 19:55:54 +00:00
ruben
77779ccf86 Now integ async tests use a thread to run the ctx 2019-12-08 19:27:04 +00:00
ruben
f7e1be7dbd Added async_fetch_one, dropped per row meta 2019-12-08 19:20:14 +00:00
ruben
cc1cf0ca6e Added resultset::fetch_all sync exc 2019-12-08 10:23:12 +00:00
ruben
22e7ae1ef1 Added resultset::fetch_all sync errc 2019-12-08 10:21:53 +00:00
ruben
f9b16cf47e Added resultset::fetch_many exc 2019-12-08 10:15:03 +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
ruben
49841d8ee4 Added resultset::fetch_many and some integ tests 2019-12-07 20:03:34 +00:00
ruben
8a82465df7 Implemented and tested resultset::fetch_one (exc) 2019-12-07 17:47:09 +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
418e627f5e Added integ tests for query sync exc 2019-11-17 18:17:29 +00:00
ruben
a6b4af8cf0 Added metadat_validator for integ tests 2019-11-17 18:10:38 +00:00
ruben
5f5f6fe55b Extended connection::query tests for SELECTs 2019-11-11 15:32:04 +00:00
ruben
e78a2fbc9c Added first test for resultset::fetch_one
Added DeserializationContext::rewind
General bugfix
2019-11-11 13:53:59 +00:00
ruben
d5b5bf6015 Added query UPDATE test 2019-11-11 12:01:50 +00:00
ruben
8ecd3eb577 Bugfix for query_impl, integ test for INSERT 2019-11-11 11:52:35 +00:00