Skip to content

Commit

Permalink
bugfix: make process_use_statement_on_query field in MysqlIntermediar…
Browse files Browse the repository at this point in the history
…yOptions as pub (jonhoo#16)

* bugfix: make process_use_statement_on_query field in MysqlIntermediaryOptions as pub

* fix clippy
  • Loading branch information
flaneur2020 committed Jan 19, 2022
1 parent fa6659e commit 867c332
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ pub trait MysqlShim<W: Write> {
/// The options which passed to MysqlIntermediary struct
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct MysqlIntermediaryOptions {
process_use_statement_on_query: bool,
/// process use statement on the on_query handler
pub process_use_statement_on_query: bool,
}

/// A server that speaks the MySQL/MariaDB protocol, and can delegate client commands to a backend
Expand Down

0 comments on commit 867c332

Please sign in to comment.