Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Extract function name from Item_cache type object

3 views
Skip to first unread message

Shaukat Mahmood Ahmad

unread,
Apr 9, 2015, 2:52:55 PM4/9/15
to
Hi,

I am processing mysql query to extract function name from Item_cache
however Item_cache::print() method returns following string.

<cache>(now())

Is there any way to extract function name i.e. "now()" from Item_cache object?


Item_cache::setup(Item *item) method uses Item_func* which is stored
as protected class member of Item_cache class (named example), I can
extract function name using Item_func::func_name() method however this
is protected member so I can not use this in client code.


Regards,
Shaukat Mahmood Ahmad

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

0 new messages