I have installed package in sugarpro 6.3, package installed . but
After installation of module i have done repair and rebuild through post_install.php file.
It gives me error.

This happen only in sugarpro 6.3.
Following is the code of the file and error
post_install.php

$randc = new RepairAndClear();
$randc->repairAndClearAll(array('clearAll'),array(transla te('All Modules')), false,true);

Query Failed: INSERT into upgrade_history set : MySQL error 1064: 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 '' at line 1