phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc.inc.php, 1.2.2.1,


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc.inc.php, 1.2.2.1, 1.2.2.2
Date: Fri, 01 Aug 2003 13:01:14 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv2998

Modified Files:
      Tag: Version-0_9_16-branch
        class.schema_proc.inc.php 
Log Message:
more explicite debug-message if it fails


Index: class.schema_proc.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.schema_proc.inc.php,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** class.schema_proc.inc.php   27 Mar 2003 00:00:39 -0000      1.2.2.1
--- class.schema_proc.inc.php   1 Aug 2003 17:01:11 -0000       1.2.2.2
***************
*** 37,46 ****
                                return False;
                        }
- 
                        $this->m_aTables = $aTables;
  
-                       reset($this->m_aTables);
                        $sAllTableSQL = '';
!                       while (list($sTableName, $aTableDef) = 
each($this->m_aTables))
                        {
                                $sSequenceSQL = '';
--- 37,44 ----
                                return False;
                        }
                        $this->m_aTables = $aTables;
  
                        $sAllTableSQL = '';
!                       foreach ($this->m_aTables as $sTableName => $aTableDef)
                        {
                                $sSequenceSQL = '';
***************
*** 60,63 ****
--- 58,62 ----
                                        {
                                                print('<br>Failed generating 
script for <b>' . $sTableName . '</b><br>');
+                                               echo '<pre style="text-align: 
left;">'.$sTableName.' = '; print_r($aTableDef); echo "</pre>\n";
                                        }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]