remove query field

pull/128/head
Takayuki Maeda 3 years ago
parent 4519ecac36
commit ba77418834

@ -20,7 +20,6 @@ use unicode_width::UnicodeWidthStr;
struct QueryResult { struct QueryResult {
updated_rows: u64, updated_rows: u64,
query: String,
} }
impl QueryResult { impl QueryResult {
@ -275,10 +274,7 @@ impl Component for SqlEditorComponent {
self.query_result = None; self.query_result = None;
} }
ExecuteResult::Write { updated_rows } => { ExecuteResult::Write { updated_rows } => {
self.query_result = Some(QueryResult { self.query_result = Some(QueryResult { updated_rows })
updated_rows,
query: query.to_string(),
})
} }
} }
return Ok(EventState::Consumed); return Ok(EventState::Consumed);

Loading…
Cancel
Save