mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:58:12 +00:00
SQLServer: Remove Core::EventReceiver parent from SQLStatement
This relationship was only used to provide factory methods and a parent- child relationship between SQLStatement and DatabaseConnection.
This commit is contained in:
parent
3ea4c56d04
commit
08d77ca6b1
3 changed files with 13 additions and 16 deletions
|
@ -87,7 +87,7 @@ Messages::SQLServer::ExecuteStatementResponse ConnectionFromClient::execute_stat
|
|||
dbgln_if(SQLSERVER_DEBUG, "ConnectionFromClient::execute_query_statement(statement_id: {})", statement_id);
|
||||
|
||||
auto statement = SQLStatement::statement_for(statement_id);
|
||||
if (statement && statement->connection()->client_id() == client_id()) {
|
||||
if (statement && statement->connection().client_id() == client_id()) {
|
||||
// FIXME: Support taking parameters from IPC requests.
|
||||
return statement->execute(move(const_cast<Vector<SQL::Value>&>(placeholder_values)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue