ruben
26c57e92dd
Split serialization tests into multiple files
...
Converted string_fixed into a plain array
2020-03-21 19:01:51 +00:00
ruben
5e47d703b9
Reordered serialization.hpp into two impl files
2020-03-21 18:04:04 +00:00
ruben
db1e3005bb
Converted serialization to a trait-based system
2020-03-21 17:12:53 +00:00
ruben
d4e7d4627a
Renamed aux->auxiliar (Windows reserved name)
2020-03-20 22:15:49 +00:00
ruben
ed7577d525
Attempt to make Travis on Windows work
2020-03-20 20:28:36 +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
faa7d52db4
Refactored basic_types header
...
Split into value_holder, bytestring and protocol_types
2020-03-20 13:06:55 +00:00
ruben
bddc3fd37e
Moved contexts to separate files
2020-03-20 12:38: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
0b076b541d
Updated versions in README.md
2020-03-17 11:13:28 +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
c6607322e1
Added MariaDB to PATH on Windows CI
2020-03-16 14:41:03 +00:00
ruben
11bf7669d3
Update root auth on OSX/mariadb in CI
2020-03-16 12:52:22 +00:00
ruben
2ea47319ee
Added MariaDB to OSX and Windows CIs
2020-03-14 21:50:21 +00:00
ruben
012cbb771f
Added mariadb CIs on Linux
2020-03-14 20:39:26 +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
ruben
cd1b51c4cf
Added Win64 CI, refactored .travis.yml
2020-03-11 15:41:00 +00:00
ruben
daecc851a5
Updated README (merge)
2020-03-03 21:20:25 +00:00
ruben
68b91ea362
Updated README with prepared statements info
2020-03-03 21:18:58 +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
bd5dafcbbf
Fixed float serialization for boost 1.71+
2020-02-29 15:04:57 +00:00
ruben
3d7b4d0957
Added missing brace initializer to no stmt params
2020-02-29 13:49:53 +00:00
ruben
7f49b49a2d
Workaround for broken brew addon in travis
2020-02-29 11:31:54 +00:00
ruben
14069d6d07
Added missing include in value.hpp
2020-02-29 07:32:14 +00:00
ruben
758ad0e290
Added formal docs for prepared statements
2020-02-25 03:09:02 +00:00
ruben
965090b021
Changes to build with clang
2020-02-24 03:08:55 +00:00
ruben
68884d52d9
Added example for prepared statements
2020-02-22 01:03:29 +00:00
ruben
e4869966d5
Now prepare_statement uses channel shared buffer
2020-02-22 00:22:34 +00:00
ruben
16324e5e9b
Now handshake uses channel shared buffer
2020-02-21 22:41: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
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