+ MySQLim::getTableInfo() bassta implementation. Backport from master