ruben
5d63ea17b0
Trying to make Appveyor link
2020-04-02 20:03:20 +01:00
ruben
c0f338fba3
Trying to make Appveyor link
2020-04-02 20:01:39 +01:00
ruben
a3daff344a
Trying to solve link errors in Appveyor
2020-04-02 19:24:38 +01:00
ruben
4b17e968a9
Added Boost::date_time to examples/integ in CMake
2020-04-02 19:11:45 +01:00
ruben
d98e36b733
Added futures to integ tests
2020-03-28 17:28:52 +00:00
ruben
09f7bd9aed
Added coroutines to integration tests
...
Changed all prepared_statement functions to not use auto return type
declaration
Fixed wrong return value in prepared_statement::execute
2020-03-28 16:06:36 +00:00
ruben
6c8ee1457f
Added support for Boost.Coroutine's
2020-03-27 19:39:31 +00: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
2b8f2000cf
Refactored float serialization
2020-03-20 15:23:28 +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
4260bac19b
Renamed all 'errc' variables to 'code'
2020-03-19 17:35:08 +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
8309444932
Now empty packets can be written to channel
...
This fixes the empty password + auth switch bug
Added unit tests in channel to test the issue
2020-03-17 11:02:07 +00:00
ruben
0a75e1ec4a
Recovered empty password handshake integ test
2020-03-16 15:09:37 +00:00
ruben
6ac54ab886
Removed validation of is_signed for TIMESTAMP
...
Added a feature in meta_validator to prevent validation of certain flags
Removed validation of is_signed for TIMESTAMP and DATETIME types, as
MariaDB and MySQL return different things and is not of any use
2020-03-14 20:21:17 +00:00
ruben
8842307fad
Corrected error code on bad database handshake test
2020-03-14 19:59:30 +00:00
ruben
ca2ef34202
Added missing flag in handshake for MariaDB
2020-03-13 21:37:51 +00:00
ruben
242d0cd48a
Made DB setups compatible with MariaDB
2020-03-13 21:37:28 +00:00
anarthal
84ef370e0d
Increased max_connections so integ tests always pass
2020-03-01 17:05:00 +00:00
anarthal
1a92b8be24
Fixed overflow warning in database_types.cpp
2020-03-01 17:00:21 +00:00
anarthal
d784e65a8b
Changes to build/run in Windows 64
2020-03-01 15:28:30 +00:00
ruben
965090b021
Changes to build with clang
2020-02-24 03:08:55 +00:00
ruben
387f8b5cf4
Added close statement to stmt lifecycle tests
2020-02-21 22:34:44 +00:00
ruben
5623307138
Added statement close implementation
2020-02-21 22:29:14 +00:00
ruben
547adbf016
Added coverage for TIME in db types
...
Fixed bug in operator<< for times
Fixed bug in text deserialization for times
2020-02-20 21:45:06 +00:00
ruben
8558525ad0
Increased coverage for TIMESTAMP in db types
2020-02-20 17:55:26 +00:00
ruben
1f61966fa1
Added more coverage for DATETIME in db types
2020-02-20 04:50:28 +00:00
ruben
9b04abae8c
Added stmt execute test with a NULL parameter
2020-02-18 17:18:41 +00:00
ruben
3c31048f56
Added test for server error during stmt execute
2020-02-18 16:57:34 +00:00
ruben
e1a3a0f193
Added prepared statement lifecycle tests
2020-02-18 16:49:17 +00:00
ruben
bb7e952711
Extended query types tests for statements
2020-02-18 01:53:27 +00:00
ruben
4c63597fbb
Removed old integ test functions
2020-02-15 02:44:19 +00:00
ruben
1053af4b46
Converted resultset tests into network tests
2020-02-15 02:39:51 +00:00
ruben
46dc97dd53
Converted query tests into new network style tests
2020-02-14 18:33:04 +00:00
ruben
d976e537c1
Changed handshake tests to use new network test infrastructure
2020-02-14 18:20:44 +00:00
ruben
16347315fe
Now network tests use an interface
...
Made network tests simpler and much more flexible
2020-02-14 17:37:21 +00:00
ruben
ab4715525b
Added tests for connection::async_prepare_statement
2020-02-10 04:45:36 +00:00
ruben
81d6482eb7
Now network tests exercise async functions
...
Now statement::async_execute perform adequate param checking
2020-02-10 04:26:27 +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
7925702418
New integ test system to avoid code duplication
2020-02-05 23:36:12 +00:00
ruben
c2765d5b7b
Added tests for statement execute (collection)
2020-02-05 12:52:21 +00:00
ruben
e0f83bf1c1
Added prepared_statement::execute tests
...
Fixed bug in prepare_statement (was not reading metadata packets after
the prepared statement response)
Added stringize()
Now execute() explicitly checks the number of parameters and issues an
error if they don't match the expected count
2020-02-05 12:44:33 +00:00
ruben
87b6e65a32
Added connection::prepare_statement sync exc
2020-02-05 11:38:38 +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
064bcee82a
Added connection::prepare_statement sync errc test
...
Fixed build issues
2020-02-05 11:14:30 +00:00
ruben
8ce2f22961
Added prepared_statement::execute and unit tests
2020-02-05 07:40:12 +00:00