In includes/database.mysql.inc the functions mysql_errno and mysql_error are used without $active_db as parameter, meaning that they might catch errors from other databases used on for example content pages.

The attached file works for me TM.

CommentFileSizeAuthor
use-active_db-for-mysql_err.diff870 bytes2GooD
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

magico’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)