Here is just the top snippet of the DB error email I get daily after updating to 7.1.1. The rest of the email report is debug trace code and is very large for a forum post. If it matter any at all I will compress it into a file for someone.
Database error in (MY SITE NAME)
Query:
SELECT `p`.*, `f`.`ID`, if(`DateLastNav` > SUBDATE(NOW( ), INTERVAL 1 MINUTE ), 1, 0) AS `is_online`, UNIX_TIMESTAMP(p.`DateLastLogin`) AS 'TS_DateLastLogin', UNIX_TIMESTAMP(p.`DateReg`) AS 'TS_DateReg' FROM ( SELECT `ID` AS `ID` FROM `sys_friend_list` WHERE `Profile` = '238' AND `Check` =1 UNION SELECT `Profile` AS `ID` FROM `sys_friend_list` WHERE `ID` = '238' AND `Check` =1 ) AS `f` INNER JOIN `Profiles` AS `p` ON `p`.`ID` = `f`.`ID` WHERE 1 AND p.`Status`='Active' ORDER BY p.`DateLastNav` DESC LIMIT 0, 32
Mysql error: Got error -1 from storage engine
Found error in the file '/home/www/mysite.com/inc/profiles.inc.php' at line 459.
Called 'db_res' function with erroneous argument #0.