Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
use-active_db-for-mysql_err.diff | 870 bytes | 2GooD | |
Comments
Comment #1
magico CreditAttribution: magico commentedComment #2
(not verified) CreditAttribution: commented