You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Number of cached rows can be > CACHE_FLUSH_THRESHOLD (in case of batch inserts).
This commit is contained in:
@ -1205,7 +1205,7 @@ my_bool get_status_and_flush_cache(void *param,
|
|||||||
{
|
{
|
||||||
ha_rows num_rows = cache->num_rows_cached();
|
ha_rows num_rows = cache->num_rows_cached();
|
||||||
if ((!cache->insert_command && num_rows != 0) ||
|
if ((!cache->insert_command && num_rows != 0) ||
|
||||||
num_rows == CACHE_FLUSH_THRESHOLD)
|
num_rows >= CACHE_FLUSH_THRESHOLD)
|
||||||
{
|
{
|
||||||
if ((error= cache->flush_insert_cache()))
|
if ((error= cache->flush_insert_cache()))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user