mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Postfix for #6900: isc_batch_too_big has nothing to do with DSQL errors and SQL code -104
This commit is contained in:
parent
283799c662
commit
ef0480a728
@ -818,10 +818,7 @@ void DsqlBatch::DataCache::put3(const void* data, ULONG dataSize, ULONG offset)
|
||||
void DsqlBatch::DataCache::put(const void* d, ULONG dataSize)
|
||||
{
|
||||
if (m_limit && (m_used + m_cache.getCount() + dataSize > m_limit))
|
||||
{
|
||||
ERRD_post(Arg::Gds(isc_sqlerr) << Arg::Num(-104) <<
|
||||
Arg::Gds(isc_batch_too_big));
|
||||
}
|
||||
ERR_post(Arg::Gds(isc_batch_too_big));
|
||||
|
||||
const UCHAR* data = reinterpret_cast<const UCHAR*>(d);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user