From 5cab6c4c70bfdb820d173dbd566d57232648e8fd Mon Sep 17 00:00:00 2001 From: Roman Nozdrin Date: Tue, 18 Sep 2018 11:23:38 +0300 Subject: [PATCH] MCOL-1601 Removed unused symbols. --- dbcon/mysql/sm.cpp | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/dbcon/mysql/sm.cpp b/dbcon/mysql/sm.cpp index 1d8be5f05..9cbfc73e6 100644 --- a/dbcon/mysql/sm.cpp +++ b/dbcon/mysql/sm.cpp @@ -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();