ruben
69188a5a68
Fixed exception specifications for value_holder
2020-03-28 14:37:07 +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
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
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
ca2ef34202
Added missing flag in handshake for MariaDB
2020-03-13 21:37:51 +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
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
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
d976e537c1
Changed handshake tests to use new network test infrastructure
2020-02-14 18:20:44 +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
f7430308f5
Added async API for prepared statements
2020-02-07 23:45:43 +00:00
ruben
2189db26ef
Added async_execute_statement
2020-02-07 23:14:57 +00:00
ruben
7fa3865733
Added async_prepare_statement
2020-02-07 23:05:39 +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
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
ruben
ab03605bc1
Added prepared_statement class
2020-02-03 22:20:01 +00:00
ruben
2587938f9d
Added prepared statements network algos
2020-02-03 22:19:40 +00:00
ruben
27bafae3cb
Generalized stmt_execute message iterators
2020-02-03 22:10:04 +00:00
ruben
fa9456af5d
Generalized read_text_row to read_row
2020-02-03 20:22:25 +00:00
ruben
68fe862fa9
Generalized execute_query to generic_execute
2020-02-03 19:39:50 +00:00
ruben
4fbf6fae30
Renamed fetch_text_row to read_text_row
2020-02-03 18:04:11 +00:00
ruben
18636f4de1
Net algos now use channel<StreamType>
2020-02-03 16:52:41 +00:00
ruben
c82c61c2f4
Moved all network algorithms into a separate dir
2020-02-03 16:15:20 +00:00