We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4de6c1 commit 1cde74fCopy full SHA for 1cde74f
src/config.rs
@@ -513,7 +513,7 @@ pub struct Pool {
513
514
pub query_parser_max_length: Option<usize>,
515
516
- #[serde(default = "Pool::query_parser_read_write_splitting")] // False
+ #[serde(default)] // False
517
pub query_parser_read_write_splitting: bool,
518
519
#[serde(default)] // False
@@ -592,10 +592,6 @@ impl Pool {
592
true
593
}
594
595
- pub fn query_parser_read_write_splitting() -> bool {
596
- true
597
- }
598
-
599
pub fn validate(&mut self) -> Result<(), Error> {
600
match self.default_role.as_ref() {
601
"any" => (),
0 commit comments