mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-30 10:58:24 +00:00
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:
@@ -255,7 +255,7 @@ void statement_impl::define_and_bind()
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
rethrow_current_exception_with_context("context");
|
||||
rethrow_current_exception_with_context(context);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user