-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge launchbadge/sqlx master into JetASAP/sqlx master #12
Commits on Jun 15, 2021
-
Fix error message about wildcard overrides (#1276)
Co-authored-by: Austin Bonander <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e33e451 - Browse repository at this point
Copy the full SHA e33e451View commit details
Commits on Jul 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bb330f8 - Browse repository at this point
Copy the full SHA bb330f8View commit details
Commits on Jul 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6c8f61f - Browse repository at this point
Copy the full SHA 6c8f61fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b54adfa - Browse repository at this point
Copy the full SHA b54adfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8204989 - Browse repository at this point
Copy the full SHA 8204989View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0abbcc5 - Browse repository at this point
Copy the full SHA 0abbcc5View commit details
Commits on Jul 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for be189bd - Browse repository at this point
Copy the full SHA be189bdView commit details
Commits on Jul 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8bcac03 - Browse repository at this point
Copy the full SHA 8bcac03View commit details -
Keep track of column typing in SQLite EXPLAIN parsing (#1323)
* NewRowid, Column opcodes, better pointer handling * Implement tracking of column typing on sqlite explain parser * fmt for sqlite column typing for explain parsing Co-authored-by: marshoepial <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb3ff28 - Browse repository at this point
Copy the full SHA cb3ff28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5317405 - Browse repository at this point
Copy the full SHA 5317405View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8544fd - Browse repository at this point
Copy the full SHA a8544fdView commit details -
fix(macros): tell the compiler about external files/env vars to watch (…
Configuration menu - View commit details
-
Copy full SHA for e89cb09 - Browse repository at this point
Copy the full SHA e89cb09View commit details
Commits on Jul 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b3ae6e5 - Browse repository at this point
Copy the full SHA b3ae6e5View commit details
Commits on Jul 23, 2021
-
Use tokio
spawn_blocking
instead ofblock_in_place
(#1333)This fixes a panic when sharing an SQLite connection pool between tokio runtime and actix runtime
Configuration menu - View commit details
-
Copy full SHA for dc92c28 - Browse repository at this point
Copy the full SHA dc92c28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34db44b - Browse repository at this point
Copy the full SHA 34db44bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0d0dce - Browse repository at this point
Copy the full SHA f0d0dceView commit details
Commits on Jul 28, 2021
-
Fix GitHub Actions and integration test (#1346)
* fix test suite * rustfmt * need Row * test: fix integration test scripts and update the upstream supported databases Signed-off-by: Atkins Chang <[email protected]> * ci(actions): update supported databases Signed-off-by: Atkins Chang <[email protected]> * ci(actions): use `pg_isready` instead of `sleep` to avoid error cause by database not ready Signed-off-by: Atkins Chang <[email protected]> * feat(core): add `trait PgConnectionInfo` for connection parameter status from server Signed-off-by: Atkins Chang <[email protected]> * test(postgres): fix integration test for postgres Signed-off-by: Atkins Chang <[email protected]> * test(mysql): fix integration tests Signed-off-by: Atkins Chang <[email protected]> * ci(actions): test database against the oldest and newest supported versions Signed-off-by: Atkins Chang <[email protected]> * docs(core): document `trait PgConnectionInfo` Signed-off-by: Atkins Chang <[email protected]> Co-authored-by: Montana Low <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f7205e - Browse repository at this point
Copy the full SHA 9f7205eView commit details
Commits on Aug 7, 2021
-
build(deps): bump git2 from 0.13.19 to 0.13.20 (#1362)
Signed-off-by: Atkins Chang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55c603e - Browse repository at this point
Copy the full SHA 55c603eView commit details
Commits on Aug 16, 2021
-
sqlite: fix a couple segfaults (#1351)
* sqlite: use Arc instead of Copy-able StatementHandle This guarantees that StatementHandle is never used after calling `sqlite3_finalize`. Now `sqlite3_finalize` is only called when StatementHandle is dropped. (cherry picked from commit 5eebc05) * sqlite: use Weak poiter to StatementHandle in the worker Otherwise some tests fail to close connection. (cherry picked from commit 5461eee) * Fix segfault due to race condition in sqlite (#1300) (cherry picked from commit bb62cf7) * fix(sqlite): run `sqlite3_reset()` in `StatementWorker` this avoids possible race conditions without using a mutex * fix(sqlite): have `StatementWorker` keep a strong ref to `ConnectionHandle` this should prevent the database handle from being finalized before all statement handles have been finalized * fix(sqlite/test): make `concurrent_resets_dont_segfault` runtime-agnostic Co-authored-by: link2xt <[email protected]> Co-authored-by: Adam Cigánek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71388a7 - Browse repository at this point
Copy the full SHA 71388a7View commit details -
Add docs for fetch_all, example for postgres transactions (#1255)
* reference fetch_all() in query macros * add example for using transactions in postgres
Configuration menu - View commit details
-
Copy full SHA for e77219f - Browse repository at this point
Copy the full SHA e77219fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7c3610 - Browse repository at this point
Copy the full SHA e7c3610View commit details -
Fix bug for PostgreSQL if the statement has type holes (#1363)
* fix: wait until ready after executing other helper queries while pg quering is executing Signed-off-by: Atkins Chang <[email protected]> * fix: use tls parameter for testing target Signed-off-by: Atkins Chang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd27aa0 - Browse repository at this point
Copy the full SHA dd27aa0View commit details -
fix(cli): pin
clap_derive
version (#1381)When `clap_derive 3.0.0-beta.4` released, new invocations of `cargo install sqlx-cli` would try to compile that against `clap 3.0.0-beta.2` which caused some breakages. Until `clap 3.0.0` proper is released, we need to pin both versions to insure against potential breakages from automatic upgrades. closes #1378
Configuration menu - View commit details
-
Copy full SHA for 38435ca - Browse repository at this point
Copy the full SHA 38435caView commit details
Commits on Aug 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 774880d - Browse repository at this point
Copy the full SHA 774880dView commit details -
preparing 0.5.6 release (#1382)
* fix(pool): reenable connection reaper * fix warnings * chore: bump published crates to 0.5.6 * chore: update CHANGELOG.md for 0.5.6
Configuration menu - View commit details
-
Copy full SHA for 6bb1c71 - Browse repository at this point
Copy the full SHA 6bb1c71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 207e6db - Browse repository at this point
Copy the full SHA 207e6dbView commit details
Commits on Aug 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c04f83b - Browse repository at this point
Copy the full SHA c04f83bView commit details -
fix(postgres): avoid recursively spawning tasks in `PgListener::drop(…
…)` (#1393) refactor(pool): deprecate `PoolConnection::release()`, provide renamed alts
Configuration menu - View commit details
-
Copy full SHA for 0e8ffb5 - Browse repository at this point
Copy the full SHA 0e8ffb5View commit details
Commits on Aug 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3749e0e - Browse repository at this point
Copy the full SHA 3749e0eView commit details
Commits on Aug 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0e51272 - Browse repository at this point
Copy the full SHA 0e51272View commit details -
Use promptly instead of dialoguer (#1410)
See #1409 Co-authored-by: David James <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad81e35 - Browse repository at this point
Copy the full SHA ad81e35View commit details -
Getting current Handle in Drop (#1395)
Signed-off-by: Freyskeyd <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 135d16a - Browse repository at this point
Copy the full SHA 135d16aView commit details
Commits on Sep 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d94c081 - Browse repository at this point
Copy the full SHA d94c081View commit details -
Don't require cargo to build offline queries (#1415)
In particular building with bazel and cargo-raze doesn't imply having cargo at all, and deferring the lookup allows same-crate builds to succeed with no change to semantics. Fixes #1414 Signed-off-by: Robert Collins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89ee690 - Browse repository at this point
Copy the full SHA 89ee690View commit details -
Configuration menu - View commit details
-
Copy full SHA for 335eed4 - Browse repository at this point
Copy the full SHA 335eed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 719d800 - Browse repository at this point
Copy the full SHA 719d800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eb4ff8 - Browse repository at this point
Copy the full SHA 2eb4ff8View commit details
Commits on Sep 8, 2021
-
Reduce futures-util features (#1427)
* Reduce futures-util features * Remove unused futures crate from sqlx-macros
Configuration menu - View commit details
-
Copy full SHA for efd08cc - Browse repository at this point
Copy the full SHA efd08ccView commit details
Commits on Sep 10, 2021
-
Why: dotenv() must execute before clap's get_matches() Co-authored-by: David James <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb33a29 - Browse repository at this point
Copy the full SHA bb33a29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 092f811 - Browse repository at this point
Copy the full SHA 092f811View commit details -
Support the immutable option on SQLite connections (#1289)
Co-authored-by: Austin Bonander <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 687fbf9 - Browse repository at this point
Copy the full SHA 687fbf9View commit details
Commits on Sep 13, 2021
-
Finish support for Postgres COPY (#1345)
* feat(postgres): WIP implement `COPY FROM/TO STDIN` Signed-off-by: Austin Bonander <[email protected]> * feat(postgres): WIP implement `COPY FROM/TO STDIN` Signed-off-by: Austin Bonander <[email protected]> * test and complete support for postgres copy Co-authored-by: Austin Bonander <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec510b3 - Browse repository at this point
Copy the full SHA ec510b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2307f43 - Browse repository at this point
Copy the full SHA 2307f43View commit details -
Support custom initial options for sqlite (#1295)
* Support custom initial options for sqlite Apply suggestions from code review Co-authored-by: Austin Bonander <[email protected]> Apply suggestions from code review Co-authored-by: Austin Bonander <[email protected]> Use order-preserving map to set pragmas for an initial sqlite statement Use Cow<'static, str> instead of String Co-authored-by: Austin Bonander <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5997a2 - Browse repository at this point
Copy the full SHA a5997a2View commit details
Commits on Sep 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 24c0d52 - Browse repository at this point
Copy the full SHA 24c0d52View commit details
Commits on Sep 22, 2021
-
fix(mysql): handle multiple waiting results correctly (#1439)
* test(mysql): add test case for pending rows and dropped transaction * fix(mysql): handle multiple waiting results correctly
Configuration menu - View commit details
-
Copy full SHA for 593364f - Browse repository at this point
Copy the full SHA 593364fView commit details -
Fix a panic in the worker thread when dropping the connection while `…
Configuration menu - View commit details
-
Copy full SHA for 8b30f30 - Browse repository at this point
Copy the full SHA 8b30f30View commit details
Commits on Sep 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c2e04a1 - Browse repository at this point
Copy the full SHA c2e04a1View commit details
Commits on Sep 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6e1c7a9 - Browse repository at this point
Copy the full SHA 6e1c7a9View commit details
Commits on Oct 1, 2021
-
Shut down statement worker in Sqlite Connection::close (#1453)
* add explicit shutdown of sqlite statement worker in Connection::close() Signed-off-by: Andrew Whitehead <[email protected]> * test sqlite database close method Signed-off-by: Andrew Whitehead <[email protected]> * await worker shutdown after dropping SqliteConnection Signed-off-by: Andrew Whitehead <[email protected]> * restore explicit drop Signed-off-by: Andrew Whitehead <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba3e373 - Browse repository at this point
Copy the full SHA ba3e373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51e45ce - Browse repository at this point
Copy the full SHA 51e45ceView commit details -
[SQLite] encoding & decoding
NaiveTime
with correct format (#1459)* Fix SQLite encoding format * Update SQLite decoding format * Update sqlx-core/src/sqlite/types/chrono.rs * fixup: add `#[rustfmt::skip]` Co-authored-by: Austin Bonander <[email protected]> Co-authored-by: Austin Bonander <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8561891 - Browse repository at this point
Copy the full SHA 8561891View commit details -
Add reverting instructions to README (#1468)
Instructions on reverting migrations are missing from the README. Here are some that others may find helpful.
Configuration menu - View commit details
-
Copy full SHA for efde5c5 - Browse repository at this point
Copy the full SHA efde5c5View commit details -
preparing 0.5.8 release (#1466)
* preparing 0.5.8 release * fix warnings before release
Configuration menu - View commit details
-
Copy full SHA for 1b5dd65 - Browse repository at this point
Copy the full SHA 1b5dd65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9abe9b3 - Browse repository at this point
Copy the full SHA 9abe9b3View commit details
Commits on Oct 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 466d3f3 - Browse repository at this point
Copy the full SHA 466d3f3View commit details
Commits on Oct 26, 2021
-
fix(test): fix mismatched type error in MySQL type tests (#1517)
* fix new warning about trailing semicolon in expression macros * fix(test): fix mismatched type error in MySQL type tests
Configuration menu - View commit details
-
Copy full SHA for d25ab07 - Browse repository at this point
Copy the full SHA d25ab07View commit details
Commits on Nov 3, 2021
-
Add support for serialized threading mode to sqlite (#1514)
* Add support for serialized threading mode * Typos * Fix build
Configuration menu - View commit details
-
Copy full SHA for 4ada6ac - Browse repository at this point
Copy the full SHA 4ada6acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1851e7 - Browse repository at this point
Copy the full SHA f1851e7View commit details -
Reduce indexmap version to 1.6.2 (#1501)
deno_core currently uses `=1.6.2` for indexmap, and Cargo refuses to resolve a version with sqlx's requirement of 1.7.0. https://github.com/denoland/deno/blob/004d07dccd69c9fae8370665632d90401f770938/core/Cargo.toml#L18
Configuration menu - View commit details
-
Copy full SHA for 1efbbca - Browse repository at this point
Copy the full SHA 1efbbcaView commit details -
fix(postgres): allow rust_decimal::Decimal in PgRange (#1523)
* fix(postgres): allow rust_decimal::Decimal in PgRange * test(postgres): add tests for BigDecimal and Decimal in ranges
Configuration menu - View commit details
-
Copy full SHA for 62b57f0 - Browse repository at this point
Copy the full SHA 62b57f0View commit details -
Update FAQ to include building on docs.rs (#1497)
Thanks to @jplatte in the sqlx Discord for providing this solution.
Configuration menu - View commit details
-
Copy full SHA for 069cfca - Browse repository at this point
Copy the full SHA 069cfcaView commit details
Commits on Nov 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b419bf5 - Browse repository at this point
Copy the full SHA b419bf5View commit details
Commits on Nov 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cdb40b1 - Browse repository at this point
Copy the full SHA cdb40b1View commit details -
fix panic when converting negative chrono::Duration into PgInterval (#…
…1475) * fix PgInterval convert failure for negative chrono::Duration * add unit tests for PgInterval * Fix: remove redundancy because nanosecond overflow implies microsecond overflow
Configuration menu - View commit details
-
Copy full SHA for 626dd0d - Browse repository at this point
Copy the full SHA 626dd0dView commit details -
Encode/Decode impl for Cow<'_, str> (#1343)
* Encode/Decode impl for Cow<'_, str> resolves #1214 * --wip-- [skip ci] * Add Cow decode/encode to other databases and fix build
Configuration menu - View commit details
-
Copy full SHA for df2d5c7 - Browse repository at this point
Copy the full SHA df2d5c7View commit details -
Include a reference to the shape of the migration files in the migrat…
…e macro documentation (#1498)
Configuration menu - View commit details
-
Copy full SHA for ce801b9 - Browse repository at this point
Copy the full SHA ce801b9View commit details
Commits on Nov 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 51954fe - Browse repository at this point
Copy the full SHA 51954feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35c5e32 - Browse repository at this point
Copy the full SHA 35c5e32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3604c6b - Browse repository at this point
Copy the full SHA 3604c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc05631 - Browse repository at this point
Copy the full SHA fc05631View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8db803 - Browse repository at this point
Copy the full SHA c8db803View commit details
Commits on Nov 12, 2021
-
Copy API improvement (#1536) (#1537)
* expose PgCopyIn * downgrade Pool<Posgres> copy_in_raw/out_row to take &self
Configuration menu - View commit details
-
Copy full SHA for a304161 - Browse repository at this point
Copy the full SHA a304161View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8299687 - Browse repository at this point
Copy the full SHA 8299687View commit details