mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
LibSQL: Remove the now-unused ExecutionContext::result object
The INSERT and SELECT statements set up this object for any expression evaluation to indicate errors. This is no longer needed.
This commit is contained in:
parent
f3c6cb40d7
commit
df2ddcafd4
4 changed files with 1 additions and 5 deletions
|
@ -39,8 +39,6 @@ ResultOr<ResultSet> Insert::execute(ExecutionContext& context) const
|
|||
ResultSet result { SQLCommand::Insert };
|
||||
TRY(result.try_ensure_capacity(m_chained_expressions.size()));
|
||||
|
||||
context.result = Result { SQLCommand::Insert };
|
||||
|
||||
for (auto& row_expr : m_chained_expressions) {
|
||||
for (auto& column_def : table_def->columns()) {
|
||||
if (!m_column_names.contains_slow(column_def.name()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue