mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:43:02 +01:00
Fixed bug CORE-5140 : Wrong error message when user tries to set number of page buffers into not supported value
This commit is contained in:
parent
7524cd2fe7
commit
b713cb895e
@ -5611,7 +5611,8 @@ void DatabaseOptions::get(const UCHAR* dpb, USHORT dpb_length, bool& invalid_cli
|
||||
if (dpb_page_buffers &&
|
||||
(dpb_page_buffers < MIN_PAGE_BUFFERS || dpb_page_buffers > MAX_PAGE_BUFFERS))
|
||||
{
|
||||
ERR_post(Arg::Gds(isc_bad_dpb_content) << Arg::Gds(isc_baddpb_buffers_range));
|
||||
ERR_post(Arg::Gds(isc_bad_dpb_content) << Arg::Gds(isc_baddpb_buffers_range) <<
|
||||
Arg::Num(MIN_PAGE_BUFFERS) << Arg::Num(MAX_PAGE_BUFFERS));
|
||||
}
|
||||
dpb_set_page_buffers = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user