MySQL error on blogs directory page

Upgraded WP and Multi DB to 3.0.2 and we get

Warning: mysql_real_escape_string(): 23 is not a valid MySQL-Link resource in /wp-includes/wp-db.php on line 785

Any reason for this?