mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibSQL+SQLServer: Return the new Result class from statement executions
We can now TRY anything that returns a SQL::Result or an AK::Error.
This commit is contained in:
committed by
Linus Groh
parent
d9055de7ea
commit
6620f19979
@@ -11,9 +11,9 @@
|
||||
|
||||
namespace SQL::AST {
|
||||
|
||||
RefPtr<SQLResult> Statement::execute(AK::NonnullRefPtr<Database> database) const
|
||||
Result Statement::execute(AK::NonnullRefPtr<Database> database) const
|
||||
{
|
||||
ExecutionContext context { move(database), nullptr, this, nullptr };
|
||||
ExecutionContext context { move(database), {}, this, nullptr };
|
||||
return execute(context);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user