Ryan Leckey
9ce596d492
test: temporarily remove test against MSSQL 2017
...
Getting weird errors when trying to run this with docker. We may
have better luck setting up a Windows CI runner to handle the
majority of MSSQL testing anyway.
2020-06-11 03:39:23 -07:00
Ryan Leckey
e9a562f89a
fix(mysql): handle MySQL sending more or less bytes than we expect for an integer type
2020-06-11 03:39:23 -07:00
Pirmin Kalberer
e5a7619344
Allow queries on virtual tables
2020-06-11 03:36:58 -07:00
Austin Bonander
646823e093
fix(macros): fix derive for Encode
2020-06-11 03:36:34 -07:00
Ryan Leckey
475ed9e1df
fix(mariadb): don't append UNSIGNED to the type of timestamp columns
2020-06-10 04:24:34 -07:00
Ryan Leckey
1dac0b5c29
fix(postgres): invert the type description logic to allow all "simple" type categories
...
closes #379
2020-06-10 04:21:09 -07:00
Ryan Leckey
e7d6e67f03
docs(pool): add some module docs to sqlx::pool
2020-06-10 01:51:14 -07:00
Ryan Leckey
ef6afb64d3
feat(pool): use Connect::Options over &str
2020-06-10 01:19:10 -07:00
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
Ryan Leckey
ce4286dff5
test(mssql): handle null-safe equality comparison for type test for nulls
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
Peter Maatman
2677046a3b
test: add test case for fetch_all bug with pool
2020-06-08 02:36:17 -07:00
Ryan Leckey
e54d030381
fix(mysql): str should produce VARCHAR not BLOB
2020-06-08 02:30:21 -07:00
Ryan Leckey
0039fcc167
test: mysql port is 3306
2020-06-08 01:00:20 -07:00
Ryan Leckey
70e224327a
test: fix yaml indents
2020-06-08 00:20:40 -07:00
Ryan Leckey
e001815a18
test: fix non-repeatable postgres macro test
2020-06-08 00:18:53 -07:00
Ryan Leckey
b46215eca8
test: matrix for mssql should be named mssql
2020-06-08 00:03:16 -07:00
Ryan Leckey
923c7aa18e
test: fix sqlite configuration
2020-06-07 23:51:05 -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
6497d67b6a
feat(mssql): add macro support
2020-06-07 16:29:46 -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
c37cc9960d
test: add remaining databases to core workflow
2020-06-07 05:37:49 -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
322f0d3c1c
test: use a matrix to extend coverage of postgres
2020-06-07 04:10:07 -07:00
Ryan Leckey
55a59121ee
test: small fix to sql in json test
2020-06-07 04:07:33 -07:00
Ryan Leckey
92f67f51b7
test: use a matrix to scatter runtime features
2020-06-07 03:57:10 -07:00
Ryan Leckey
cc74a18861
test: wait for 'check' before running the postgres test and set the DATABASE_URL
2020-06-07 03:53:19 -07:00
Ryan Leckey
65c7216812
test: try out using docker-compose in CI
2020-06-07 03:47:31 -07:00
Ryan Leckey
6697e45dde
Update README.md
2020-06-07 02:41:39 -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
df142b3485
test: fix runs-on directive, '-' over ':'
2020-06-07 02:27:22 -07:00
Ryan Leckey
0386d6ed6c
test: re-initialize github workflow
2020-06-07 02:21:58 -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
8b9590442f
Merge branch 'mssql'
2020-06-07 02:01:28 -07:00
Ryan Leckey
0c061dd02d
Merge branch 'master' of github.com:launchbadge/sqlx
2020-06-07 02:00:59 -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
95149c4e4a
test: fix postgres tests after tweak to make mssql work with test type macros
2020-06-07 02:00:13 -07:00
Ryan Leckey
18ae43aae8
test: fix docker-compose file for postgres
2020-06-07 02:00:13 -07:00