I've been staring at the code and this probably should be obvious but I
don't see it.
My former developer added a new method to type_info.h:
const int base_enum() const
The point of this method is to allow for getting at the MYSQL_TYPE_XXXX
value. I'm trying to clean up my developer's mess and want to accomplish
the same thing using existing methods delivered with the library.
The enum_field_type that I want is wrapped up using the type() method.
What's the best way to get it back out?
*Director, Development *| Billtrust
Tel: 609.235.0792 | email: jcolman@stripped | Web: www.billtrust.com
Follow us: Twitter <http://www.twitter.com/billtrust>|
LinkedIn <http://www.linkedin.com/company/99112> |