You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Fully resolve potentially ambiguous symbols by removing using namespace statements from headers which have a cascading effect. This causes potential behavior changes when switching to c++11 since symbols can be exported from std and boost while both have been imported into the global namespace.
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#include "distinct_count.h"
|
||||
#include "calpontsystemcatalog.h"
|
||||
|
||||
using namespace mcsv1sdk;
|
||||
|
||||
@ -36,7 +37,7 @@ mcsv1_UDAF::ReturnCode distinct_count::init(mcsv1Context* context,
|
||||
context->setErrorMessage("avgx() with other than 1 arguments");
|
||||
return mcsv1_UDAF::ERROR;
|
||||
}
|
||||
context->setResultType(CalpontSystemCatalog::BIGINT);
|
||||
context->setResultType(execplan::CalpontSystemCatalog::BIGINT);
|
||||
context->setColWidth(8);
|
||||
context->setRunFlag(mcsv1sdk::UDAF_IGNORE_NULLS);
|
||||
context->setRunFlag(mcsv1sdk::UDAF_DISTINCT);
|
||||
|
Reference in New Issue
Block a user