Commit graph

2508 commits

Author SHA1 Message Date
Daniel Akhterov
23d13adb12 Fix async tests 2019-08-05 21:16:44 -07:00
Daniel Akhterov
b731dbe90f WIP: Update next_packet to work more efficiently and correctly 2019-08-05 21:16:44 -07:00
Daniel Akhterov
31188aa919 Comment the Decoder 2019-08-05 21:16:44 -07:00
Daniel Akhterov
ac6006733c WIP: Binary result set 2019-08-05 21:16:44 -07:00
Daniel Akhterov
ffe25704fc Fix capabilities 2019-08-05 21:16:44 -07:00
Daniel Akhterov
667ee3b56f Add basic serialization tests 2019-08-05 21:16:44 -07:00
Daniel Akhterov
9ca4e10836 WIP: Add serde for prepared statements 2019-08-05 21:16:44 -07:00
Daniel Akhterov
3ddf4508af Update decode to decode into signed types 2019-08-05 21:16:44 -07:00
Daniel Akhterov
18d5fa7ca2 FIX: int<lenenc> encoding keyword bytes 2019-08-05 21:16:44 -07:00
Daniel Akhterov
f3598b1721 Re-export all the things. 2019-08-05 21:16:44 -07:00
Daniel Akhterov
9ff470c730 Comment code 2019-08-05 21:16:44 -07:00
Daniel Akhterov
2642f09546 FIX: string<lenenc> 2019-08-05 21:16:44 -07:00
Ryan Leckey
7dab021532 Initial experiment with FromRow 2019-08-05 19:07:36 -07:00
Ryan Leckey
bbc0d70366 Run rustfmt 2019-08-05 08:16:35 -07:00
Ryan Leckey
c67f751968 [postgres] Initial experiment with FromSql 2019-08-05 08:11:46 -07:00
Ryan Leckey
ebb3588d30 [postgres] Initial experiments with ToSql 2019-08-05 08:11:42 -07:00
Ryan Leckey
ff3cc6a2eb [postgres] Optimize code quality of encoding 2019-08-05 08:11:29 -07:00
Ryan Leckey
3496819e5b [postgres] Implement Close and Describe 2019-08-05 08:10:52 -07:00
Ryan Leckey
d4ef3212a5
Merge pull request #5 from danielakhterov/master
MariaDB driver
2019-07-26 23:04:55 -07:00
Daniel Akhterov
28bbc400d2 Make tests non async 2019-07-26 15:49:00 -07:00
Daniel Akhterov
2cce6fba01 Rename and merge crate as a package 2019-07-26 15:27:55 -07:00
Daniel Akhterov
6114f39cb6 Update parameters to serialization 2019-07-26 15:14:50 -07:00
Daniel Akhterov
1dd2efc000 Use ConnContext for tests instead of establishing an real connection 2019-07-26 15:14:50 -07:00
Daniel Akhterov
7eee44cdc2 Fix tests 2019-07-26 15:14:50 -07:00
Daniel Akhterov
05024dbd0a Fix result set decoding OkPacket instead of EofPacket at the end of the transaction 2019-07-26 15:14:50 -07:00
Daniel Akhterov
47598bbcd6 WIP: Resultset test without connection 2019-07-26 15:14:50 -07:00
Daniel Akhterov
50d9c39a07 Use Bytes::slice instead of Bytes::from for string/byte decoding 2019-07-26 15:14:50 -07:00
Daniel Akhterov
d3101d611d WIP: Move deserializing resultset code into resultset function 2019-07-26 15:14:50 -07:00
Daniel Akhterov
70bca63fcd Got a result set!!! 2019-07-26 15:14:50 -07:00
Daniel Akhterov
6e282ee33b Use DeContext and remove resultset as a packet 2019-07-26 15:14:50 -07:00
Daniel Akhterov
4cfb1d46a1 WIP: DeContext 2019-07-26 15:14:50 -07:00
Daniel Akhterov
3d5590c6c9 Fix tests because they rely on Connection now 2019-07-26 15:13:53 -07:00
Daniel Akhterov
bf1f236c64 Clean up decoder and deserialization 2019-07-26 15:13:53 -07:00
Daniel Akhterov
567e9fa816 Fix decoding tests 2019-07-26 15:13:53 -07:00
Daniel Akhterov
b20c120d87 Add connection to serialization 2019-07-26 15:13:53 -07:00
Daniel Akhterov
a203177c90 Fmt and fix encoder 2019-07-26 15:13:53 -07:00
Daniel Akhterov
298600002b Encoder 2019-07-26 15:13:53 -07:00
Daniel Akhterov
812983b0e7 Move client packets 2019-07-26 15:13:53 -07:00
Daniel Akhterov
a576114fe3 Refactor 2019-07-26 15:13:53 -07:00
Daniel Akhterov
7c765469aa Implement decoder 2019-07-26 15:11:32 -07:00
Daniel Akhterov
32a53e678a WIP: Lifetimes :( 2019-07-26 15:11:32 -07:00
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