mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
SQLStudio: Close the current SQL connection before opening a new one
This commit is contained in:
parent
74cd0a0c82
commit
a4d2b366b6
2 changed files with 10 additions and 2 deletions
|
@ -62,13 +62,13 @@ private:
|
|||
RefPtr<GUI::TableView> m_query_results_table_view;
|
||||
|
||||
RefPtr<SQL::SQLClient> m_sql_client;
|
||||
Optional<SQL::ConnectionID> m_connection_id;
|
||||
Vector<Vector<DeprecatedString>> m_results;
|
||||
|
||||
void read_next_sql_statement_of_editor();
|
||||
Optional<DeprecatedString> read_next_line_of_editor();
|
||||
size_t m_current_line_for_parsing { 0 };
|
||||
int m_editor_line_level { 0 };
|
||||
SQL::ConnectionID m_connection_id { 0 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue