mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
SQLServer+SQLStudio+sql: Rename a couple of SQL IPC commands for clarity
Rename sql_statement to prepare_statement and statement_execute to execute_statement. The former aligns more with other database libraries (e.g. Java's JDBC prepareStatement). The latter reads less awkwardly.
This commit is contained in:
parent
17988bab75
commit
0986b383cd
Notes:
sideshowbarker
2024-07-17 03:52:37 +09:00
Author: https://github.com/trflynn89
Commit: 0986b383cd
Pull-request: https://github.com/SerenityOS/serenity/pull/16239
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/linusg
7 changed files with 17 additions and 17 deletions
|
@ -478,8 +478,8 @@ String MainWidget::read_next_sql_statement_of_editor()
|
|||
m_editor_line_level = last_token_ended_statement ? 0 : (m_editor_line_level > 0 ? m_editor_line_level : 1);
|
||||
} while ((m_editor_line_level > 0) || piece.is_empty());
|
||||
|
||||
auto statement_id = m_sql_client->sql_statement(m_connection_id, piece.to_string());
|
||||
m_sql_client->async_statement_execute(statement_id);
|
||||
auto statement_id = m_sql_client->prepare_statement(m_connection_id, piece.to_string());
|
||||
m_sql_client->async_execute_statement(statement_id);
|
||||
|
||||
return piece.to_string();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue