You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Use of newly introduced schema-based name resolution for (#3138)
Oracle-compatible functions Server changed the way to resolve functions' names and we need to adapt.
This commit is contained in:
@ -3883,6 +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());
|
cal_connection_info* ci = static_cast<cal_connection_info*>(get_fe_conn_info_ptr());
|
||||||
|
|
||||||
string funcName = ifp->func_name();
|
string funcName = ifp->func_name();
|
||||||
|
const Schema* funcSchema = ifp->schema();
|
||||||
|
if (funcSchema)
|
||||||
|
{
|
||||||
|
idbassert(funcSchema->name().str);
|
||||||
|
string funcSchemaName(funcSchema->name().str, funcSchema->name().length);
|
||||||
|
if (funcSchemaName == "oracle_schema")
|
||||||
|
{
|
||||||
|
// XXX: this is a shortcut.
|
||||||
|
funcName = funcName + "_oracle";
|
||||||
|
}
|
||||||
|
}
|
||||||
FuncExp* funcExp = FuncExp::instance();
|
FuncExp* funcExp = FuncExp::instance();
|
||||||
Func* functor;
|
Func* functor;
|
||||||
FunctionColumn* fc = NULL;
|
FunctionColumn* fc = NULL;
|
||||||
|
Reference in New Issue
Block a user