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

Test and document support for Amazon Aurora #177

Open
mehcode opened this issue Mar 29, 2020 · 1 comment
Open

Test and document support for Amazon Aurora #177

mehcode opened this issue Mar 29, 2020 · 1 comment
Labels
db:mysql Related to MySQL db:other DBs that are not explicitly supported but may work E-easy help wanted Extra attention is needed

Comments

@mehcode
Copy link
Member

mehcode commented Mar 29, 2020

No description provided.

@mehcode mehcode added help wanted Extra attention is needed E-easy labels Mar 29, 2020
@glademiller
Copy link

Using a MySQL pool to pass a connection to the following function hangs after executing the first query and before executing the first iteration of the loop.

use sqlx::prelude::*;
async fn hang(mut conn: sqlx::pool::PoolConnection<sqlx::mysql::MySqlConnection>) {
    let migrations = sqlx::query_as::<_, (String,)>("SELECT attribute FROM attributes")
        .fetch_all(&mut conn)
        .await
        .expect("First Query Failed");
    for m in migrations {
        println!("Here");
        sqlx::query_as::<_, (String,)>("SELECT attribute FROM attributes WHERE attribute = ?")
            .bind(m.0)
            .fetch_all(&mut conn)
            .await
            .expect("Second Query Failed");
        println!("Not Here");
    }
}

@abonander abonander added db:mysql Related to MySQL db:other DBs that are not explicitly supported but may work labels Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
db:mysql Related to MySQL db:other DBs that are not explicitly supported but may work E-easy help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants