Extract function name from Item_cache type object
Shaukat Mahmood Ahmad <[email protected]> Thu, 9 Apr 2015 23:47:18 +0500
| Newsgroups | gmane.comp.db.mysql.devel |
|---|---|
| Message-ID | <CAG0LXhyOTE4bEv3c23-jCyEoLROMPhUup7Mb37jC=QH3Dw-TkQ@mail.gmail.com> |
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