You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
MCOL-263: throw different error message on load data infile if columnstore suspendDatabaseWrite is enabled
This commit is contained in:
@@ -3856,6 +3856,13 @@ void ha_calpont_impl_start_bulk_insert(ha_rows rows, TABLE* table)
|
|||||||
ci->singleInsert = true;
|
ci->singleInsert = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
uint32_t stateFlags;
|
||||||
|
dbrmp->getSystemState(stateFlags);
|
||||||
|
if (stateFlags & SessionManagerServer::SS_SUSPENDED)
|
||||||
|
{
|
||||||
|
setError(current_thd, ER_INTERNAL_ERROR, "Writing to the database is disabled.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
CalpontSystemCatalog::TableName tableName;
|
CalpontSystemCatalog::TableName tableName;
|
||||||
tableName.schema = table->s->db.str;
|
tableName.schema = table->s->db.str;
|
||||||
|
Reference in New Issue
Block a user