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 e14b283 commit a4de6c1Copy full SHA for a4de6c1
src/config.rs
@@ -513,7 +513,7 @@ pub struct Pool {
513
514
pub query_parser_max_length: Option<usize>,
515
516
- #[serde(default)] // False
+ #[serde(default = "Pool::query_parser_read_write_splitting")] // False
517
pub query_parser_read_write_splitting: bool,
518
519
#[serde(default)] // False
@@ -592,6 +592,10 @@ 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