1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Revert "Fixes MCOL-5700, Oracle mode test results"

This commit is contained in:
Leonid Fedorov
2024-03-27 18:52:30 +04:00
committed by GitHub
parent 56b35d5cf6
commit af5ae35413
9 changed files with 79 additions and 102 deletions

View File

@ -3883,27 +3883,17 @@ ReturnedColumn* buildFunctionColumn(Item_func* ifp, gp_walk_info& gwi, bool& non
cal_connection_info* ci = static_cast<cal_connection_info*>(get_fe_conn_info_ptr());
string funcName = ifp->func_name();
idblog("funcName before " << funcName);
if ( nullptr != dynamic_cast<Item_func_concat_operator_oracle*>(ifp))
const Schema* funcSchema = ifp->schema();
if (funcSchema)
{
// the condition above is the only way to recognize this particular case.
funcName = "concat_operator_oracle";
}
else
{
const Schema* funcSchema = ifp->schema();
if (funcSchema)
idbassert(funcSchema->name().str);
string funcSchemaName(funcSchema->name().str, funcSchema->name().length);
if (funcSchemaName == "oracle_schema")
{
idbassert(funcSchema->name().str);
string funcSchemaName(funcSchema->name().str, funcSchema->name().length);
if (funcSchemaName == "oracle_schema")
{
// XXX: this is a shortcut.
funcName = funcName + "_oracle";
}
// XXX: this is a shortcut.
funcName = funcName + "_oracle";
}
}
idblog("funcName after " << funcName);
FuncExp* funcExp = FuncExp::instance();
Func* functor;
FunctionColumn* fc = NULL;