Some code reformations.
Fix method Database::list_fields.
Fix issues with FETCH_CLASS and "no class defined" error.
Fix statement result on SHOW statements.