1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-31 18:30:33 +03:00

change check

This commit is contained in:
mariadb-KristinaPavlova
2025-08-14 15:01:04 +03:00
committed by drrtuy
parent 25b83f1cca
commit c78a61d258

View File

@@ -251,7 +251,7 @@ void gp_walk(const Item* item, void* arg)
Item* ncitem = const_cast<Item*>(item);
Item_func* ifp = static_cast<Item_func*>(ncitem);
std::string funcName = ifp->func_name();
if(ifp->arguments()[0] != nullptr && ifp->arguments()[0]->type()!= Item::FIELD_ITEM)
if(funcName == "idbpartition" && (ifp->arguments()[0] == nullptr || ifp->arguments()[0]->type() == Item::CONST_ITEM))
{
logging::Message::Args args;
args.add(funcName);