Commit Graph

1036 Commits

Author SHA1 Message Date
Steven Fackler
82e9d62c0d Release v0.2.0 2014-12-12 18:36:39 -08:00
Steven Fackler
39ad5ff651 Fix for opt in Copy 2014-12-11 20:36:24 -08:00
Steven Fackler
05c41854f4 Remove an unnecessary clone 2014-12-09 23:04:29 -08:00
Steven Fackler
e8ff196c8e Cleanup 2014-12-09 21:35:52 -08:00
Steven Fackler
42eb9fb01e Move Send bound for NoticeHandler to trait def
This is a breaking change
2014-12-08 23:43:01 -08:00
Steven Fackler
fe7b9f5435 Update readme to use crates.io packages instead of git 2014-12-07 12:56:41 -08:00
Steven Fackler
cdbbadd3cf Clean up some equality checks 2014-12-06 13:30:37 -08:00
Steven Fackler
39a89de5f0 Fix off by one in index impl 2014-12-06 10:41:49 -08:00
Steven Fackler
21f666774f Couple more []s 2014-12-06 10:10:44 -08:00
Steven Fackler
131fa11b5a Remove remaining [] usage 2014-12-06 10:08:28 -08:00
Steven Fackler
a55c50a22b Release 0.1.3 2014-12-06 08:57:43 -08:00
Steven Fackler
5ca7d8ec2c Bump phf dependency 2014-12-06 08:56:48 -08:00
Steven Fackler
05af4073c4 Remove unneeded feature 2014-12-06 08:52:18 -08:00
Steven Fackler
587aa653a3 Fix for equality changes 2014-12-05 07:58:11 -08:00
Steven Fackler
ac59c84c82 Add next_block_for example 2014-12-03 19:55:05 -08:00
Steven Fackler
5065dbfa4d Use monotonic time for timeout logic 2014-12-03 18:57:04 -08:00
Steven Fackler
cb8380e294 Cut out some allocation in read_message 2014-12-02 23:02:20 -08:00
Steven Fackler
d7c63393db Cleanup 2014-12-02 22:56:56 -08:00
Steven Fackler
705f9f9d79 Remove a bunch of slice sugar usage 2014-12-02 21:44:34 -08:00
Steven Fackler
cfe37fa9bf Clean up race condition fix 2014-12-02 20:57:32 -08:00
Steven Fackler
9303e4dfdd Fix race condition in next_block_for
If we hit the timeout while not blocked on read, the timeout would
overflow.
2014-12-02 20:47:34 -08:00
Steven Fackler
d5998d8f2a Add Notifications::next_block_for method
The setup is a little hairy, but seems correct.

cc #19
2014-12-02 20:36:31 -08:00
Steven Fackler
75641e121f Allow statements to be prepared on any object
Statements aren't cleaned up at the end of a transaction, so this is
safe.
2014-12-01 22:45:22 -08:00
Steven Fackler
348195b718 Optimize execute
Avoiding the statment close by using the unnamed statment improves the
lower bound perf by ~1/3:

test bench_execute        ... bench:    425429 ns/iter (+/- 24970)
test bench_naiive_execute ... bench:    607967 ns/iter (+/- 53434)

cc #83
2014-12-01 22:24:31 -08:00
Steven Fackler
80b7fa823c Clean up copy preparation a bit 2014-12-01 21:28:58 -08:00
Steven Fackler
1908821e57 Clean up bad response logic a bit 2014-11-28 17:35:37 -08:00
Steven Fackler
e7f66f89ac Use rust-openssl's MaybeSslStream 2014-11-28 15:54:37 -08:00
Steven Fackler
6334f045cb Be more conservative when closing things 2014-11-28 15:01:01 -08:00
Steven Fackler
d0a5bd7679 Release 0.1.2
Just fixes for upstream changes
2014-11-28 12:27:32 -08:00
Steven Fackler
dd9c712ea9 Fix for upstream changes 2014-11-28 12:24:34 -08:00
Steven Fackler
d7cec2c7e5 Bump to 0.1.1
A bumped openssl version unbreaks windows builds
2014-11-27 21:39:49 -08:00
Steven Fackler
7b8786c6a2 Upgrade to openssl 0.2 2014-11-27 21:39:16 -08:00
Steven Fackler
f35e3b6e3a Lock to uuid and time 0.1 2014-11-27 15:37:25 -08:00
Steven Fackler
7ba9db9b6f Check for statement close errors in execute 2014-11-27 11:16:14 -08:00
Steven Fackler
d674b8a4a0 Lock to phf 0.1 2014-11-27 10:18:31 -08:00
Steven Fackler
81da54e04f Minor cleanup 2014-11-26 22:35:06 -08:00
Steven Fackler
bb3b649d6a Fix to url 0.2 2014-11-26 15:06:46 -08:00
Steven Fackler
4d3e102f7e Add result_descriptions to Rows and Row
This can be useful for functions that are just passed a `Rows` or `Row`
and want to introspect a bit into the columns.
2014-11-26 10:50:31 -08:00
Steven Fackler
e8f12a4a1e Add a desync check in next_block 2014-11-25 19:17:53 -08:00
Steven Fackler
9e8435141c More enum cleanup 2014-11-25 18:49:04 -08:00
Steven Fackler
546967f68c Add a blocking next method to Notifications
cc #19
2014-11-25 18:30:28 -08:00
Steven Fackler
7f89a83caf One more bit of cleanup 2014-11-25 16:27:35 -08:00
Steven Fackler
d84fa98b4b Variant cleanup 2014-11-25 12:59:31 -08:00
Steven Fackler
3fb5043980 Fix some syntax in the README 2014-11-25 12:44:42 -08:00
Steven Fackler
814c48863c More duplication reduction 2014-11-24 22:42:49 -08:00
Steven Fackler
a793bcc1d5 Reduce some duplication in range logic 2014-11-24 22:24:34 -08:00
Steven Fackler
d92eafce4b Remove some more failure 2014-11-24 10:12:35 -08:00
Steven Fackler
2aefb6c34c Switch to all registry deps 2014-11-23 18:33:59 -08:00
Steven Fackler
cbc74e6ea9 More movement to registry 2014-11-22 15:53:43 -08:00
Steven Fackler
092a7ea9d6 Switch dependencies over to registry, add metadata 2014-11-22 15:52:11 -08:00