ruben
10761729be
Added integration tests for invalid dates
2020-05-11 16:48:11 +01:00
ruben
6ad544d3bd
Worked around a gcc7 issue
2020-04-24 16:11:20 +01:00
ruben
7a436895ce
Reworked how integration tests do connect
2020-04-24 13:17:38 +01:00
ruben
2e96142ebb
Split socket-specific methods to socket_connection
2020-04-24 12:35:06 +01:00
ruben
42a921d055
Added connection::connect
2020-04-24 11:54:54 +01:00
ruben
86c05c0d44
Made IntegTest dtor. call conn.quit()
2020-04-22 12:39:07 +01:00
ruben
ad82222828
Added connection close
2020-04-22 12:28:02 +01:00
ruben
f49ff4dc1f
Added basic quit
2020-04-21 19:47:21 +01:00
ruben
1ae738c35b
Renamed database and CMake library
2020-04-20 11:54:16 +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
30c22f1279
BadUser test is now more resilient
2020-04-16 18:50:36 +01:00
ruben
3a309e9e2a
Now integration tests run directly from CMake
2020-04-16 18:50:14 +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
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
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
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
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
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
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
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
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
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