Skip to content
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

Implement ParameterStatus and fix macro error with CockroachDB #1248

Closed
wants to merge 29 commits into from

Commits on May 25, 2021

  1. Configuration menu
    Copy the full SHA
    ad3a9b1 View commit details
    Browse the repository at this point in the history
  2. unnecessary code

    altanozlu committed May 25, 2021
    Configuration menu
    Copy the full SHA
    e5b8681 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. Improve root README.md and sqlx-cli/README.md (launchbadge#1262)

    * readme: Fix inconsistent list style
    
    * readme: Improve text alignment
    
    * readme: Fix missing links
    
    * readme: Consistently use code formatting for runtime & TLS crates and dedup links
    
    * readme: Add SQLx is not an ORM section
    
    * readme: Improve documentation about offline mode
    jplatte committed May 30, 2021
    Configuration menu
    Copy the full SHA
    4986ea2 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. Configuration menu
    Copy the full SHA
    358b80f View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2021

  1. Fix error message about wildcard overrides (launchbadge#1276)

    Co-authored-by: Austin Bonander <austin@launchbadge.com>
    jplatte and abonander committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    e33e451 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2021

  1. Configuration menu
    Copy the full SHA
    bb330f8 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Configuration menu
    Copy the full SHA
    6c8f61f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b54adfa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8204989 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0abbcc5 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Configuration menu
    Copy the full SHA
    be189bd View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Configuration menu
    Copy the full SHA
    8bcac03 View commit details
    Browse the repository at this point in the history
  2. Keep track of column typing in SQLite EXPLAIN parsing (launchbadge#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 <marshoepial@gmail.com>
    marshoepial and marshoepial committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    cb3ff28 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5317405 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a8544fd View commit details
    Browse the repository at this point in the history
  5. fix(macros): tell the compiler about external files/env vars to watch (

    …launchbadge#1332)
    
    * fix(macros): tell the compiler about external files/env vars to watch
    
    closes launchbadge#663
    closes launchbadge#681
    
    * feat(cli): add `migrate` subcommand for generating a build script
    
    suggest embedding migrations on `sqlx migrate add` in a new project
    abonander committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    e89cb09 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Configuration menu
    Copy the full SHA
    b3ae6e5 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Use tokio spawn_blocking instead of block_in_place (launchbadge#1333

    )
    
    This fixes a panic when sharing an SQLite connection pool between tokio runtime and actix runtime
    guylapid committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    dc92c28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34db44b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0d0dce View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Fix GitHub Actions and integration test (launchbadge#1346)

    * fix test suite
    
    * rustfmt
    
    * need Row
    
    * test: fix integration test scripts and update the upstream supported databases
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    * ci(actions): update supported databases
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    * ci(actions): use `pg_isready` instead of `sleep` to avoid error cause by database not ready
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    * feat(core): add `trait PgConnectionInfo` for connection parameter status from server
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    * test(postgres): fix integration test for postgres
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    * test(mysql): fix integration tests
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    * ci(actions): test database against the oldest and newest supported versions
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    * docs(core): document `trait PgConnectionInfo`
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    Co-authored-by: Montana Low <montanalow@gmail.com>
    AtkinsChang and Montana Low committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    9f7205e View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2021

  1. build(deps): bump git2 from 0.13.19 to 0.13.20 (launchbadge#1362)

    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    AtkinsChang committed Aug 7, 2021
    Configuration menu
    Copy the full SHA
    55c603e View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. sqlite: fix a couple segfaults (launchbadge#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 (launchbadge#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 <link2xt@testrun.org>
    Co-authored-by: Adam Cigánek <adam.ciganek@gmail.com>
    3 people committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    71388a7 View commit details
    Browse the repository at this point in the history
  2. Add docs for fetch_all, example for postgres transactions (launchbadg…

    …e#1255)
    
    * reference fetch_all() in query macros
    
    * add example for using transactions in postgres
    raffomania committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    e77219f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7c3610 View commit details
    Browse the repository at this point in the history
  4. Fix bug for PostgreSQL if the statement has type holes (launchbadge#1363

    )
    
    * fix: wait until ready after executing other helper queries while pg quering is executing
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    
    * fix: use tls parameter for testing target
    
    Signed-off-by: Atkins Chang <atkinschang@gmail.com>
    AtkinsChang committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    dd27aa0 View commit details
    Browse the repository at this point in the history
  5. fix(cli): pin clap_derive version (launchbadge#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 launchbadge#1378
    abonander committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    38435ca View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2021

  1. Configuration menu
    Copy the full SHA
    b9af2c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab6ea4d View commit details
    Browse the repository at this point in the history