Skip to content

Commit a4bc674

Browse files
authored
Merge pull request #29 from wseaton/patch-1
Update lib.rs
2 parents 449e031 + 5970752 commit a4bc674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ where
6868
}
6969

7070
fn is_valid(&self, client: &mut Client) -> Result<(), Error> {
71-
client.simple_query("").map(|_| ())
71+
client.simple_query("SELECT 1;").map(|_| ())
7272
}
7373

7474
fn has_broken(&self, client: &mut Client) -> bool {

0 commit comments

Comments
 (0)