[Vtigercrm-commits] [vtiger-commits] r3935 - /vtigercrm/branches/4.2/include/database/PearDatabase.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Feb 25 03:35:38 EST 2006


Author: mfedyk
Date: Sat Feb 25 01:35:31 2006
New Revision: 3935

Log:
turn on adodb and AXMLS debugging during install

Modified:
    vtigercrm/branches/4.2/include/database/PearDatabase.php

Modified: vtigercrm/branches/4.2/include/database/PearDatabase.php
==============================================================================
--- vtigercrm/branches/4.2/include/database/PearDatabase.php (original)
+++ vtigercrm/branches/4.2/include/database/PearDatabase.php Sat Feb 25 01:35:31 2006
@@ -799,12 +799,16 @@
 
 	//$this->println("ADODB createTables connect status=".$db->Connect($this->dbHostName, $this->userName, $this->userPassword, $this->dbName));
 	$schema = new adoSchema( $db );
+	//Debug Adodb XML Schema
+	$sehema->XMLS_DEBUG = TRUE;
+	//Debug Adodb
+	$sehema->debug = true;
 	$sql = $schema->ParseSchema( $schemaFile );
 
 	$this->println("--------------Starting the table creation------------------");
 	//$this->println($sql);
 
-
+	//integer ExecuteSchema ([array $sqlArray = NULL], [boolean $continueOnErr = NULL])
 	$result = $schema->ExecuteSchema( $sql, true );
 	if($result)
 	print $db->errorMsg();





More information about the vtigercrm-commits mailing list