Fix typo in context used in define_and_bind()

The recent 335b8e53 (Give context in error message when
define_and_bind() fails, 2026-01-14) accidentally used "context" string
instead of context variable, as intended.
This commit is contained in:
Vadim Zeitlin
2026-01-14 00:30:29 +01:00
parent be6d02c893
commit 23c71341f3

View File

@@ -255,7 +255,7 @@ void statement_impl::define_and_bind()
}
catch (...)
{
rethrow_current_exception_with_context("context");
rethrow_current_exception_with_context(context);
}
}