1
Fork 0
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:
Timothy Flynn 2022-12-28 18:30:34 -05:00 committed by Andreas Kling
parent 74cd0a0c82
commit a4d2b366b6
2 changed files with 10 additions and 2 deletions

View file

@ -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 };
};
}