summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibSQL/Result.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibSQL/Result.h b/Userland/Libraries/LibSQL/Result.h
index e965ada00b..bf85ea6003 100644
--- a/Userland/Libraries/LibSQL/Result.h
+++ b/Userland/Libraries/LibSQL/Result.h
@@ -94,7 +94,7 @@ public:
}
ALWAYS_INLINE Result(Error error)
- : m_error(static_cast<SQLErrorCode>(error.code()))
+ : m_error(SQLErrorCode::InternalError)
, m_error_message(error.string_literal())
{
}