--- wp-includes/wp-db.php	2013-06-21 14:41:52.000000000 -0400
+++ wp-includes/wp-db.php	2013-07-23 18:37:01.298896949 -0400
@@ -1166,6 +1166,7 @@
 		$this->ready = true;
 
 		$this->select( $this->dbname, $this->dbh );
+		mysql_query( "SET sql_mode=''", $this->dbh);
 	}
 
 	/**
