Steven Fackler
7cfde75dce
Encapsulate DbError
2015-02-06 09:03:49 -08:00
Steven Fackler
7fc495738d
Fix docs
2015-02-06 09:03:49 -08:00
Steven Fackler
173075bae1
Remove Error::WrongParamCount
2015-02-06 09:03:49 -08:00
Steven Fackler
cd1d9b9e3f
Remove deprecated methods
2015-02-06 09:03:49 -08:00
Steven Fackler
e8d372d555
Make execute
return a u64 instead of usize
2015-02-06 09:03:48 -08:00
Steven Fackler
dec549b9ca
Clean up panic checks a bit
2015-02-06 09:03:48 -08:00
Steven Fackler
7101cab178
Remove WrongConnection and WrongTransaction Errors
...
These only occur during contract violations, so panicing is recommended
by the erorr handling RFC.
2015-02-06 09:03:48 -08:00
Steven Fackler
d35124e214
Make next_block_for return an option
2015-02-06 09:03:48 -08:00
Steven Fackler
4a93618293
Make Debug impls less recursive
2015-02-05 23:01:42 -08:00
Steven Fackler
e41870ade3
Display the statement cache size in Conn Debug impl
2015-02-05 22:57:26 -08:00
Steven Fackler
9d5cd8f3d1
Sort extern crates
2015-02-04 20:39:30 -08:00
Steven Fackler
91e6e784e6
Stop using endian conversion Writer/Reader methods
...
They're going away in new IO.
2015-02-04 19:40:33 -08:00
Steven Fackler
9df10b9c3b
Fix for upstream changes
2015-02-03 09:06:52 -08:00
Steven Fackler
5fd3d70d29
Make use of deref coercions
2015-02-02 23:41:03 -08:00
Steven Fackler
90f5567c2d
Cleanup
2015-02-01 11:12:11 -08:00
Steven Fackler
b8595c7564
Failure -> Panics
2015-01-30 21:59:59 -08:00
Steven Fackler
9ac4baebd8
Add a bit to Notifications Debug impl
2015-01-29 20:30:06 -08:00
Steven Fackler
cb1ae4d115
Fix for stability changes
2015-01-29 08:59:43 -08:00
Steven Fackler
118f0ba9b2
Small struct reorder
2015-01-28 21:08:20 -08:00
Steven Fackler
a616db0381
Drop some use of usize internally
2015-01-28 20:35:17 -08:00
Steven Fackler
8d704f71ce
Fix for IO changes
2015-01-28 08:52:33 -08:00
Steven Fackler
af6084871f
Add an is_active method
...
Will be needed when Error::WrongTransaction is removed
2015-01-26 21:09:50 -08:00
Steven Fackler
b1305cc45d
Bump rust-phf
2015-01-25 11:12:07 -08:00
Steven Fackler
e2f1a7cb11
Docs fixes
2015-01-24 10:46:01 -08:00
Steven Fackler
4c90977cb0
Little cleanup
2015-01-24 10:04:43 -08:00
Steven Fackler
d3c75d5787
Use the unnamed portal for normal queries
...
There's no need to add extra round trips to close portals that don't
need to exist.
2015-01-24 09:55:46 -08:00
Steven Fackler
dde0f64582
Show -> Debug
2015-01-23 23:31:17 -08:00
Steven Fackler
f38636b21a
Use SteadyTime for next_block_for
2015-01-23 23:29:29 -08:00
Steven Fackler
6381267267
Fix for upstream changes
2015-01-23 10:44:15 -08:00
Steven Fackler
d709692e0e
Clarify docs a bit
2015-01-22 22:55:18 -08:00
Steven Fackler
5cce51723a
Move lazy_query to Statement
...
Symmetry is good
2015-01-22 22:52:29 -08:00
Steven Fackler
ee7f9ee806
Avoid accidentally closing finished statements
2015-01-22 22:33:35 -08:00
Steven Fackler
247e320275
Add explicit statement caching
...
Also remove transaction depth checks to preparation methods on
Connection since lifetimes of statements are tied to the connection, not
any transaction that may be active.
cc #84
2015-01-22 22:27:14 -08:00
Steven Fackler
b30bd46c2b
Set element_type for range types
...
Closes #95
2015-01-22 00:04:58 -08:00
Steven Fackler
e0758ed5b8
Store element type for unknown types
2015-01-21 22:11:43 -08:00
Steven Fackler
08460b889e
Remove an unused parameter
2015-01-21 20:29:22 -08:00
Steven Fackler
290d572166
Redesign COPY IN execution setup.
...
The old Iterator of Iterators setup basically required all of the rows
to sit in memory at the same time, which defeats the entire purpose of
that configuration. There's probably a library that defines
`StreamIterator`, so this may jump to that.
2015-01-21 20:25:01 -08:00
Steven Fackler
9e260fdfac
Add another Show impl
2015-01-16 22:32:25 -08:00
Alex Crichton
05359f9e9c
Remove an unneeded feature
2015-01-12 14:01:35 -08:00
Steven Fackler
41bcb71176
Remove newline from Show impl
2015-01-09 23:58:21 -08:00
Steven Fackler
f7d57ebe68
Implement Show for stuff
2015-01-09 20:48:47 -08:00
Steven Fackler
900ae55807
Fix doc tests
2015-01-09 11:20:43 -08:00
Steven Fackler
92a3593d7f
Update for upstream changes
...
String vs Show still needs to be resolved, but it compiles now
2015-01-09 10:50:54 -08:00
Steven Fackler
4f157bb4a8
Partial update
2015-01-09 10:26:24 -08:00
Steven Fackler
347c79def9
Fix for upstream changes
2015-01-07 08:23:40 -08:00
Steven Fackler
0ddefe9d6b
Remove unsafe Send impl
2015-01-04 17:33:34 -08:00
Steven Fackler
605460c789
Fix for upstream changes
2015-01-04 08:08:53 -08:00
Steven Fackler
94e70df6e2
Fix for upstream changes
2015-01-03 13:23:11 -08:00
Steven Fackler
a210cd605b
Fix doc tests
2014-12-31 21:40:21 -08:00
Steven Fackler
bece000346
Add a missing Send impl
2014-12-29 09:38:30 -08:00