mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +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
|
@ -291,8 +291,8 @@ private:
|
|||
read_sql();
|
||||
});
|
||||
} else {
|
||||
auto statement_id = m_sql_client->sql_statement(m_connection_id, piece);
|
||||
m_sql_client->async_statement_execute(statement_id);
|
||||
auto statement_id = m_sql_client->prepare_statement(m_connection_id, piece);
|
||||
m_sql_client->async_execute_statement(statement_id);
|
||||
}
|
||||
|
||||
// ...But m_keep_running can also be set to false by a command handler.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue