Misc 4 #66

Merged
oysteikt merged 7 commits from misc into main 2024-08-19 00:18:45 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit daa8e069d3 - Show all commits

View File

@ -400,9 +400,9 @@ pub async fn append_databases_where_user_has_privileges(
let database_list = sqlx::query( let database_list = sqlx::query(
formatdoc!( formatdoc!(
r#" r#"
SELECT `db` AS `database` SELECT `Db` AS `database`
FROM `db` FROM `db`
WHERE `user` = ? AND ({}) WHERE `User` = ? AND ({})
"#, "#,
DATABASE_PRIVILEGE_FIELDS DATABASE_PRIVILEGE_FIELDS
.iter() .iter()