* issue #1421: When SQL had all bad modes, missing variable warning was generated * Update database.php