Commit graph

2567 commits

Author SHA1 Message Date
Daniel Akhterov
8a1b9a89fd WIP: ResultSet 2019-07-26 15:11:32 -07:00
Daniel Akhterov
163e154073 WIP benchmarking 2019-07-26 15:11:32 -07:00
Daniel Akhterov
a50c2805ba Fix warnings 2019-07-26 15:11:32 -07:00
Daniel Akhterov
b787fa8475 rustfmt and optimze ComPing 2019-07-26 15:11:32 -07:00
Daniel Akhterov
8dcd113517 Remove receiver 2019-07-26 15:10:50 -07:00
Daniel Akhterov
f107f1de6c Establish connection and ping server 2019-07-26 15:10:50 -07:00
Daniel Akhterov
f2e0b0e904 Fix deserialization tests 2019-07-26 15:10:50 -07:00
Daniel Akhterov
bc144b83bf Fix serialization with BytesMut 2019-07-26 15:10:50 -07:00
Daniel Akhterov
27a46f1202 WIP: Use BytesMut for serialization 2019-07-26 15:10:50 -07:00
Daniel Akhterov
653ead0322 WIP: Cleanup serializations 2019-07-26 15:10:50 -07:00
Daniel Akhterov
3679593f63 Established connection! 2019-07-26 15:10:50 -07:00
Daniel Akhterov
89b89eaec7 WIP: Got Packets out of order Response 2019-07-26 15:10:50 -07:00
Daniel Akhterov
80143b945a WIP: Use bytes/bytesmut instead of vec<u8> 2019-07-26 15:10:50 -07:00
Daniel Akhterov
3af0dc08d5 Update client messages to use serialization functions 2019-07-26 15:10:50 -07:00
Daniel Akhterov
eb3cd5f4ee Serialization length 2019-07-26 15:10:50 -07:00
Daniel Akhterov
a018e81f08 Serialization tests 2019-07-26 15:10:50 -07:00
Daniel Akhterov
8ea28f36e5 WIP: Handshake 2019-07-26 15:10:50 -07:00
Daniel Akhterov
3a07e393e8 Connection Established! 2019-07-26 15:10:50 -07:00
Daniel Akhterov
2a2941e1a5 WIP: establish test 2019-07-26 15:10:50 -07:00
Daniel Akhterov
e4f04283e6 Add errpacket test 2019-07-26 15:10:50 -07:00
Daniel Akhterov
d224dc2f99 Add error codes enum 2019-07-26 15:10:50 -07:00
Daniel Akhterov
d401f63a3e Add okpacket test 2019-07-26 15:10:50 -07:00
Daniel Akhterov
1bab7806ef Add field types and field details bitflags 2019-07-26 15:10:50 -07:00
Daniel Akhterov
efe8a4cad0 Test initial handshake struct fields 2019-07-26 15:10:50 -07:00
Daniel Akhterov
0bcd4336d1 Inital handshake packet test 2019-07-26 15:10:50 -07:00
Daniel Akhterov
a11241f6c5 Add rest of deserialization tests 2019-07-26 15:10:50 -07:00
Daniel Akhterov
51d890adaa Deserialization tests 2019-07-26 15:10:50 -07:00
Daniel Akhterov
92ff441d42 No side effect deserialization -> side effects 2019-07-26 15:10:50 -07:00
Daniel Akhterov
17c86ed3ec WIP 2019-07-26 15:10:50 -07:00
Daniel Akhterov
cb53559bce Add functions to deserialize all datatypes 2019-07-26 15:10:50 -07:00
Daniel Akhterov
1480bed73a Move deserialize into it's own file 2019-07-26 15:10:50 -07:00
Daniel Akhterov
d1d3ba6cb4 Add server status bitflags 2019-07-26 15:10:50 -07:00
Daniel Akhterov
2325150f9f Fix error packet default 2019-07-26 15:10:50 -07:00
Daniel Akhterov
74044d2e4f Add ErrPacket 2019-07-26 15:10:50 -07:00
Daniel Akhterov
f67490d790 Add OkPacket 2019-07-26 15:10:50 -07:00
Daniel Akhterov
9f0d41ea77 Use server_capabilities instead of client 2019-07-26 15:10:50 -07:00
Daniel Akhterov
6dce754a0d Add Auth Switch Request Packet 2019-07-26 15:10:50 -07:00
Daniel Akhterov
8d15a8e97b Add length of HandshakeResponsePacket 2019-07-26 15:10:50 -07:00
Daniel Akhterov
b6af918ac1 Add HandshakeResponsePacket struct 2019-07-26 15:10:50 -07:00
Daniel Akhterov
902970ddca Add length and sequence number to packets 2019-07-26 15:10:50 -07:00
Daniel Akhterov
12913139da Use bitflags and memchr 2019-07-26 15:10:50 -07:00
Daniel Akhterov
e56f364599 Add serialize for SSLRequestPacket 2019-07-26 15:10:18 -07:00
Daniel Akhterov
f46a1aee1d WIP: rustfmt and finsih inital handshake deserialization 2019-07-26 15:10:18 -07:00
Daniel Akhterov
9d8b567790 WIP: Mariadb initial handshake packet 2019-07-26 15:10:18 -07:00
Ryan Leckey
2b7f54f1a0 Add a single encode benchmark 2019-07-26 10:03:53 -07:00
Ryan Leckey
742946a66a Add a couple of regression tests for encoding 2019-07-26 09:22:50 -07:00
Ryan Leckey
7c70445e3d Move main.rs to examples/postgres 2019-07-26 09:20:09 -07:00
Ryan Leckey
de52268668 Move to functional encoding for Execute/Sync 2019-07-26 09:17:56 -07:00
Ryan Leckey
4ba916c979 Simplify describe message 2019-07-26 09:11:11 -07:00
Ryan Leckey
3d01db84a0 Add create/drop database to the main driver 2019-07-26 08:43:46 -07:00