diff --git a/src/lib.rs b/src/lib.rs index 6749fe6..c0ee21b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -68,7 +68,7 @@ where } fn is_valid(&self, client: &mut Client) -> Result<(), Error> { - client.simple_query("").map(|_| ()) + client.simple_query("SELECT 1;").map(|_| ()) } fn has_broken(&self, client: &mut Client) -> bool {