ruben
3a309e9e2a
Now integration tests run directly from CMake
2020-04-16 18:50:14 +01:00
ruben
86c60f9428
Now examples are run directly from CMake
2020-04-16 17:54:49 +01:00
ruben
5bd3c59dad
Changed default UNIX socket path
2020-04-16 14:02:55 +01:00
ruben
7c4ed5760b
Further increased max_connections
2020-04-16 12:02:05 +01:00
ruben
c2ef59a670
Now run_tests.py transmits errors correctly
2020-04-16 11:57:38 +01:00
ruben
082b279ba2
Changed network_functions.cpp to build under MSVC
...
Replaced template variables by static ones
2020-04-15 18:33:14 +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
becd36a73a
Added test for unknown auth plugin
2020-04-07 11:58:38 +01:00
ruben
9bf70a31e3
Refactored auth calculation
2020-04-07 11:37:40 +01:00
ruben
d6957271d2
Restructured handshake integ tests
2020-04-06 17:25:26 +01:00
ruben
7c7f26c4fc
Enhanced the test runner scripts for integ tests
...
Split db_setup.sql into regular + sha256
Added a Python script to conditionally run setup and tests
Modified the logic on SHA256 support
2020-04-06 16:44:12 +01:00
ruben
c06c2eddcd
Enhanced unknown user test validations
2020-04-06 15:44:41 +01:00
ruben
e141661a6d
Added tests for bad password for caching_sha256
2020-04-06 14:42:21 +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
1f5e060e37
Added first version of caching_sha2_password
2020-04-05 18:54:24 +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
42d79efe93
Added unit test for ssl_request serialization
2020-04-04 19:14:02 +01:00
ruben
008068e909
Moved connection_params to a separate file
...
Made it a proper class
Added ssl_options
Removed handshake_params
2020-04-04 18:19:55 +01:00
ruben
a7c1e12d65
Initial prototype for SSL connections
2020-04-04 13:39:38 +01:00
ruben
8cf185eebe
Added integ tests for error_info*=nullptr in asyncs
2020-04-03 16:16:34 +01:00
ruben
9f1c77e20b
Simplified some network_function's impl
2020-04-03 15:48:32 +01:00
ruben
5d9ce90b29
Added tests to verify we clear error_info in asyncs
2020-04-03 15:30:51 +01:00
ruben
1810977fca
Removed async_handler_arg to an error_info*
2020-04-03 15:24:06 +01:00
ruben
bd9bcd6e21
Fixed further 32 bit warnings
2020-04-03 11:04:34 +01:00
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