rev 139 install issue

i'am trying to clean install the newest rev 139

and i get these errors

<br />
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/games/glorylands/install/steps/step3.apply.php on line 92<br />
Installing database</p>
<p>Installing database. Please wait a moment...</p>
<p>Installation console<br />
Importing data into glorylands. This might take a while..</p>
<p>Running query 10 of 161 (6%)...<br />
Running query 20 of 161 (12%)...<br />
Running query 30 of 161 (19%)...<br />
Running query 40 of 161 (25%)...<br />
Running query 50 of 161 (31%)...<br />
Running query 60 of 161 (37%)...<br />
Running query 70 of 161 (43%)...<br />
Running query 80 of 161 (50%)...<br />
Running query 90 of 161 (56%)...<br />
Running query 100 of 161 (62%)...<br />
Running query 110 of 161 (68%)...<br />
Running query 120 of 161 (75%)...<br />
Running query 130 of 161 (81%)...<br />
Running query 140 of 161 (87%)...<br />
Running query 150 of 161 (93%)...<br />
Running query 160 of 161 (99%)...<br />
Running query 160 of 160 (100%)...</p>
<p>Operation completed with 1 failures<br />
Failures<br />
There were errors while performing the installation queries. Your installation might be incomplete unless those problems are solved. If you are sure about the installation state, you can try to continue, but it is strongly recommended to go back and run the database installation again.</p>
<p>MySQL error while performing query ' SET FOREIGN_KEY_CHECKS=0' : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' SET FOREIGN_KEY_CHECKS=0' at line 1<br />