You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-27 21:01:50 +03:00
MCOL-739 Use catalog_tables.size()
Suggested by David Hall. Just in case getTables() is messed up.
This commit is contained in:
@ -1105,7 +1105,7 @@ void MasterDBRMNode::doGetSystemCatalog(ByteStream &msg, ThreadParams *p)
|
||||
const std::vector< std::pair<execplan::CalpontSystemCatalog::OID, execplan::CalpontSystemCatalog::TableName> > catalog_tables
|
||||
= systemCatalogPtr->getTables();
|
||||
|
||||
reply << (uint32_t) systemCatalogPtr->getTableCount();
|
||||
reply << (uint32_t) catalog_tables.size();
|
||||
for (std::vector<std::pair<execplan::CalpontSystemCatalog::OID, execplan::CalpontSystemCatalog::TableName> >::const_iterator it = catalog_tables.begin();
|
||||
it != catalog_tables.end(); ++it)
|
||||
{
|
||||
|
Reference in New Issue
Block a user