1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-520. Fixed several instances where we were using a too-new

contructor to ifstream.
This commit is contained in:
Patrick LeBlanc
2018-10-10 14:58:50 -05:00
parent 6a353b40b5
commit f3ce845842
3 changed files with 30 additions and 30 deletions

View File

@ -3058,7 +3058,7 @@ int ha_calpont_impl_rnd_init(TABLE* table)
// plan serialization
string tmpDir = aTmpDir + "/li1-plan.hex";
ifstream ifs(tmpDir);
ifstream ifs(tmpDir.c_str());
ByteStream bs1;
ifs >> bs1;
ifs.close();
@ -5121,7 +5121,7 @@ int ha_calpont_impl_group_by_init(ha_calpont_group_by_handler* group_hand, TABLE
ci->warningMsg = msg;
}
// If the previous query has error and
// If the previous query has error and
// this is not a subquery run by the server(MCOL-1601)
// re-establish the connection
if (ci->queryState != 0)
@ -5221,7 +5221,7 @@ int ha_calpont_impl_group_by_init(ha_calpont_group_by_handler* group_hand, TABLE
return 0;
string query;
// Set the query text only once if the server executes
// Set the query text only once if the server executes
// subqueries separately.
if(ci->queryState)
query.assign("<subquery of the previous>");