Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5970752

Browse files
authored
Update lib.rs
Change the validity probe to be SELECT 1; instead of empty query.
1 parent449e031 commit5970752

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
fnis_valid(&self,client:&mutClient) ->Result<(),Error>{
71-
client.simple_query("").map(|_|())
71+
client.simple_query("SELECT 1;").map(|_|())
7272
}
7373

7474
fnhas_broken(&self,client:&mutClient) ->bool{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp