mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44:58 +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
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