mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +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
Notes:
sideshowbarker
2024-07-17 19:02:15 +09:00
Author: https://github.com/trflynn89
Commit: df2ddcafd4
Pull-request: https://github.com/SerenityOS/serenity/pull/12424
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