Ryan Leckey
|
8359c01b76
|
fix(sqlite): set a busy timeout to handle SQLITE_BUSY
|
2020-06-10 01:02:41 -07:00 |
|
Ryan Leckey
|
a2c55b9f31
|
fix(mysql): tweak JSON type so it accepts BINARY in addition to CHAR (and make tests pass in MySQL 5.5)
|
2020-06-10 00:43:14 -07:00 |
|
Ryan Leckey
|
6fcb520ac9
|
fix(mssql): emit nvarchar(max) if len is too large
|
2020-06-10 00:43:14 -07:00 |
|
Ryan Leckey
|
72ca9036c5
|
fix(mssql): potential stall on re-using connection after an dropped incomplete fetch stream
|
2020-06-10 00:43:14 -07:00 |
|
Peter Maatman
|
2a5ea2f71b
|
mysql: always use column alias when available
If a query has a column alias available we should use that name instead
of the column name.
Fixes #385
|
2020-06-10 00:42:58 -07:00 |
|
Ryan Leckey
|
ec1cfc11e6
|
refactor(core): rename try_stream2 to try_stream (after removal of conflicting async-stream package)
|
2020-06-09 23:15:54 -07:00 |
|
Ryan Leckey
|
65057f0e05
|
fix(core): add missing .await in try_stream!
|
2020-06-09 23:15:19 -07:00 |
|
Ryan Leckey
|
e1d22a1840
|
fix(core): async-stream crate seems to lose the stream if the stream owns the object we are streaming
hand-rolled a copy of the idea behind AsyncStream and things seem to work
|
2020-06-09 02:16:47 -07:00 |
|
Ryan Leckey
|
e54d030381
|
fix(mysql): str should produce VARCHAR not BLOB
|
2020-06-08 02:30:21 -07:00 |
|
Ryan Leckey
|
9a7401a427
|
chore: update dependencies
|
2020-06-07 16:30:21 -07:00 |
|
Ryan Leckey
|
f2885f84a7
|
fix(mssql): handle NULL values
|
2020-06-07 16:30:07 -07:00 |
|
Ryan Leckey
|
a0ccc135aa
|
style(mssql): rename MsSql to Mssql as MSSQL is not written MsSQL
|
2020-06-07 05:39:12 -07:00 |
|
Ryan Leckey
|
c9eef8b030
|
fix(postgres): failure to detect errors on postgres 9.5
|
2020-06-07 05:09:51 -07:00 |
|
Ryan Leckey
|
53c074130f
|
Merge remote-tracking branch 'origin/ab/macro-fixes'
|
2020-06-07 02:35:12 -07:00 |
|
Daniel Akhterov
|
c050611bac
|
fix: remove DatebaseError impl for stringprep::Error and panic instead
|
2020-06-07 02:34:41 -07:00 |
|
Daniel Akhterov
|
362a546484
|
feat(postgres): make sure username is ran through saslprep before sending to server
|
2020-06-07 02:34:41 -07:00 |
|
流光
|
ebfd5eb4f8
|
fix bug in init_min_connections
|
2020-06-07 02:34:20 -07:00 |
|
Ryan Leckey
|
9233cb5812
|
fix(sqlite): minor typo when encode for Option<T> became a macro
|
2020-06-07 02:15:48 -07:00 |
|
Ryan Leckey
|
13598c0eeb
|
feat(mssql): add support for offline
|
2020-06-07 02:15:10 -07:00 |
|
Ryan Leckey
|
ef2527ff3e
|
feat(mssql): fix a few bugs and implement Connection::describe
|
2020-06-07 02:00:31 -07:00 |
|
Ryan Leckey
|
559169cc79
|
refactor(mssql): clean up unused imports and other warnings
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
12c1137d91
|
feat(mssql): add support for f32 and f64
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
28636c1f5d
|
feat(mssql): add support for string types including a framework for handling non-UTF8 data
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
2a272bdd59
|
feat(mssql): setup type tests for MSSQL and add support for all the int types
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
434bfaa76a
|
feat(mssql): handle stream flushing
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
c64122c03f
|
feat(mssql): implement parameterized queries
|
2020-06-07 02:00:13 -07:00 |
|
Ryan Leckey
|
9a701313bc
|
feat(mssql): implement enough to get simple queries working
Co-authored-by: Daniel Akhterov <akhterovd@gmail.com>
|
2020-06-07 02:00:12 -07:00 |
|
Ryan Leckey
|
05eb07e7d4
|
feat(mssql): setup the initial boilerplate for MSSQL
Co-authored-by: Daniel Akhterov <akhterovd@gmail.com>
|
2020-06-07 02:00:12 -07:00 |
|
Ryan Leckey
|
3bc11cea26
|
fix: comment in mysql should say mysql
|
2020-06-07 02:00:12 -07:00 |
|
Daniel Akhterov
|
2863247660
|
fix: remove mssql and db2 modules
|
2020-06-06 11:01:40 -07:00 |
|
Daniel Akhterov
|
1b9ef2b7f2
|
fix: comment out mssql module
|
2020-06-06 10:59:44 -07:00 |
|
Austin Bonander
|
80b4e2fca6
|
fix(macros): reintroduce and fix macro tests for MySQL
|
2020-06-05 21:02:24 -07:00 |
|
Austin Bonander
|
e3dbd58bf2
|
PgConnection: use more obvious/safer query for ping()
|
2020-06-05 20:13:20 -07:00 |
|
rage311
|
a0d1106f90
|
Added quotes to listen/unlisten channel names to honor case sensitivity and be consistent with 'listen_all()'
|
2020-06-05 19:50:44 -07:00 |
|
dignifiedquire
|
9b68eb19ef
|
fix(sqlx-macros): update trait definitions
|
2020-06-05 19:49:31 -07:00 |
|
Ryan Leckey
|
9341cb8651
|
test: mark macro doctests as ignored (for now)
|
2020-06-01 17:06:42 -07:00 |
|
Ryan Leckey
|
b7f8a5fa81
|
fix: remove outdated comment, we do have the test_on_acquire setting
|
2020-06-01 05:37:26 -07:00 |
|
Ryan Leckey
|
bb7c064bec
|
fix: error handling in main options examples
|
2020-06-01 05:35:13 -07:00 |
|
Ryan Leckey
|
a3053119fa
|
fix: expose runtime-actix in sqlx/Cargo.toml
|
2020-06-01 05:34:52 -07:00 |
|
dignifiedquire
|
994911b1fe
|
feat: implement FromRow for tuples up to 16
|
2020-05-31 00:08:33 -07:00 |
|
Ryan Leckey
|
51ae9f00e7
|
chore: bump version to 0.4.0-pre
|
2020-05-30 23:15:52 -07:00 |
|
Ryan Leckey
|
3fcd4cd80e
|
style(core): apply more clippy suggestions
|
2020-05-30 18:28:55 -07:00 |
|
Ryan Leckey
|
35bf560481
|
fix(core): tweak serialization impls to fix offline mode
|
2020-05-30 18:17:51 -07:00 |
|
Ryan Leckey
|
9b299d9f09
|
style(core): apply future-incompatible suggestions
|
2020-05-30 18:06:21 -07:00 |
|
Ryan Leckey
|
72c1f52caf
|
style(core): apply clippy suggestions
|
2020-05-30 18:00:21 -07:00 |
|
Ryan Leckey
|
e08f05b879
|
feat: re-introduce error downcasting
|
2020-05-30 17:51:56 -07:00 |
|
Ryan Leckey
|
e5b6047009
|
feat: introduce docker-compose based testing for running locally against many database combinations
|
2020-05-30 17:51:55 -07:00 |
|
Ryan Leckey
|
afd831b0d3
|
feat: re-introduce Pool::begin and add Pool::try_begin to match Pool::try_acquire
|
2020-05-30 17:51:55 -07:00 |
|
Ryan Leckey
|
0a04abdb3e
|
feat: Pool is now generic over Database, as opposed to Connection
this fixes an unfortunate interaction with HRTBs where the compiler would
produce infinitely nested PoolConnection<PoolConnection<....
|
2020-05-30 17:51:55 -07:00 |
|
Ryan Leckey
|
cf7606be1b
|
fix: Transaction now to rollbacks on drop (again)
|
2020-05-30 17:51:55 -07:00 |
|