mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 17:36:28 +00:00
Compare commits
2 Commits
mostafa_sq
...
levkk-lowe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35c20dc9b4 | ||
|
|
72ce2be5c7 |
@@ -707,6 +707,7 @@ impl Intercept {
|
|||||||
pub fn substitute(&mut self, db: &str, user: &str) {
|
pub fn substitute(&mut self, db: &str, user: &str) {
|
||||||
for (_, query) in self.queries.iter_mut() {
|
for (_, query) in self.queries.iter_mut() {
|
||||||
query.substitute(db, user);
|
query.substitute(db, user);
|
||||||
|
query.query = query.query.to_ascii_lowercase();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user