BUG 10050 Integridad Referencial SOLVED

- Added instruction suggested
This commit is contained in:
Julio Cesar Laura
2012-11-12 14:28:25 -04:00
parent 2e78a2ee07
commit 9c6a4f1839
4 changed files with 4 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ class DataBaseMaintenance
$this->link = mysql_connect( $this->host, $this->user, $this->passwd );
@mysql_query( "SET NAMES 'utf8';" );
@mysql_query( "SET FOREIGN_KEY_CHECKS=0;" );
if (! $this->link) {
throw new Exception( "Couldn't connect to host {$this->host} with user {$this->user}" );
}