jv2222/ezSQL — pull request #54 by jwheat (2014-04-08 18:13:15+00:00)
Title: fix for Undefined property: stdClass::$max_length

When performing a select count(*), on a table, the max_length is not defined, it is actually called size instead.

I've changed the output for debug() to check for the presence of the max_length property, and if it is not set, it will use the size property instead. This block echoes out the proper value based on which is set.

previous error message :
PHP Notice: Undefined property: stdClass::$max_length in /lib/db/ez_sql_core.php on line 453