#3544 closed defect (bug) (fixed)
MySQL Errors not ignored from other resources
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | minor | Version: | 2.0.6 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
In wp-db.php, mysql_error() is called without arguments. This means that if there are other database resources then errors from these are detected and reported, causing much confusion. Simple fix is to change this to mysql_error($this->dbh) to only report WordPress errors. I've attached a patch.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
mysql_error() Patch