1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-1601 Removed unused symbols.

This commit is contained in:
Roman Nozdrin
2018-09-18 11:23:38 +03:00
parent 18143ecaee
commit 5cab6c4c70

View File

@@ -387,9 +387,6 @@ tpl_close ( cpsm_tplh_t* ntplh,
// Get the query stats
ByteStream bs;
ByteStream::quadbyte qb = 3;
//string tmpQueryStats;
//string tmpExtendedStats;
//string tmpMiniStats;
bs << qb;
hndl->write(bs);
@@ -412,20 +409,9 @@ tpl_close ( cpsm_tplh_t* ntplh,
try
{
// MCOL-1601 Server could run a number of subqueries separetely.
// If so there will be a number of statistics returned.
/*if(hndl->queryStats.size())
{
bs >> tmpQueryStats, hndl->queryStats += tmpQueryStats;
bs >> tmpExtendedStats, hndl->extendedStats += tmpExtendedStats;
bs >> hndl->miniStats, hndl->miniStats += tmpMiniStats;
}
else*/
{
bs >> hndl->queryStats;
bs >> hndl->extendedStats;
bs >> hndl->miniStats;
}
bs >> hndl->queryStats;
bs >> hndl->extendedStats;
bs >> hndl->miniStats;
stats.unserialize(bs);
stats.setEndTime();
stats.insert();