admin SHOW DATABASES (#51)

* admin SHOW DATABASES

* test

* correct replica count
This commit is contained in:
Lev Kokotov
2022-02-28 17:22:28 -08:00
committed by GitHub
parent eb1473060e
commit b21e0f4a7e
6 changed files with 170 additions and 9 deletions

View File

@@ -238,7 +238,7 @@ impl Client {
// Handle admin database real quick
if self.admin {
trace!("Handling admin command");
handle_admin(&mut self.write, message).await?;
handle_admin(&mut self.write, message, pool.clone()).await?;
continue;
}