(query: &str, stmt: Option<&Statement<Raw>>)
| 583 | } |
| 584 | |
| 585 | pub fn print_query(query: &str, stmt: Option<&Statement<Raw>>) { |
| 586 | use Statement::*; |
| 587 | if let Some(CreateSecret(_)) = stmt { |
| 588 | println!( |
| 589 | "> CREATE SECRET [query truncated on purpose so as to not reveal the secret in the log]" |
| 590 | ); |
| 591 | } else { |
| 592 | println!("> {}", query) |
| 593 | } |
| 594 | } |
| 595 | |
| 596 | // Returns the row after regex replacments, and the before, if its different |
| 597 | pub fn decode_row( |
no outgoing calls
no test coverage detected