[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: setup/inc class.schema_proc.inc.php,1.3,1.3.2.1
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: setup/inc class.schema_proc.inc.php,1.3,1.3.2.1 class.schema_proc_array.inc.php,1.2,1.2.2.1 class.schema_proc_mssql.inc.php,1.2.2.1,1.2.2.2 class.schema_proc_mysql.inc.php,1.6.2.1,1.6.2.2 class.schema_proc_pgsql.inc.php,1.10,1.10.2.1 |
Date: |
Thu, 11 Apr 2002 10:11:08 -0400 |
Update of /cvsroot/phpgroupware/setup/inc
In directory subversions:/tmp/cvs-serv575/setup/inc
Modified Files:
Tag: Version-0_9_14-branch
class.schema_proc.inc.php class.schema_proc_array.inc.php
class.schema_proc_mssql.inc.php
class.schema_proc_mysql.inc.php
class.schema_proc_pgsql.inc.php
Log Message:
Fixes for a deprecated call by reference.
Index: class.schema_proc.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/inc/Attic/class.schema_proc.inc.php,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -r1.3 -r1.3.2.1
*** class.schema_proc.inc.php 12 Sep 2001 13:44:35 -0000 1.3
--- class.schema_proc.inc.php 11 Apr 2002 14:11:05 -0000 1.3.2.1
***************
*** 378,382 ****
// Translate the type for the DBMS
! if ($this->m_oTranslator->TranslateType($sType,
$iPrecision, $iScale, $sFieldSQL))
{
if ($bNullable == false)
--- 378,382 ----
// Translate the type for the DBMS
! if ($sFieldSQL =
$this->m_oTranslator->TranslateType($sType, $iPrecision, $iScale))
{
if ($bNullable == false)
Index: class.schema_proc_array.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/setup/inc/Attic/class.schema_proc_array.inc.php,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** class.schema_proc_array.inc.php 11 Jan 2002 03:40:59 -0000 1.2
--- class.schema_proc_array.inc.php 11 Apr 2002 14:11:05 -0000 1.2.2.1
***************
*** 22,29 ****
/* Return a type suitable for DDL abstracted array */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = $sType;
! return (strlen($sTranslated) > 0);
}
--- 22,29 ----
/* Return a type suitable for DDL abstracted array */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = $sType;
! return $sTranslated;
}
Index: class.schema_proc_mssql.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/setup/inc/Attic/class.schema_proc_mssql.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_mssql.inc.php 15 Feb 2002 03:16:28 -0000 1.2.2.1
--- class.schema_proc_mssql.inc.php 11 Apr 2002 14:11:05 -0000 1.2.2.2
***************
*** 28,32 ****
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = '';
--- 28,32 ----
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 96,101 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 96,100 ----
break;
}
! return $sTranslated;
}
***************
*** 108,117 ****
return 'GetDate()';
}
-
return $sDefault;
}
// Inverse of above, convert sql column types to array info
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = '';
--- 107,115 ----
return 'GetDate()';
}
return $sDefault;
}
// Inverse of above, convert sql column types to array info
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 180,185 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 178,182 ----
break;
}
! return $sTranslated;
}
***************
*** 222,226 ****
$scale = $scales[1];
}
! $this->rTranslateType($colinfo[0], $prec,
$scale, &$type);
if ($oProc->m_odb->f(2) == 'YES')
--- 219,223 ----
$scale = $scales[1];
}
! $type = $this->rTranslateType($colinfo[0],
$prec, $scale);
if ($oProc->m_odb->f(2) == 'YES')
Index: class.schema_proc_mysql.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/setup/inc/Attic/class.schema_proc_mysql.inc.php,v
retrieving revision 1.6.2.1
retrieving revision 1.6.2.2
diff -C2 -r1.6.2.1 -r1.6.2.2
*** class.schema_proc_mysql.inc.php 10 Apr 2002 18:30:14 -0000 1.6.2.1
--- class.schema_proc_mysql.inc.php 11 Apr 2002 14:11:05 -0000 1.6.2.2
***************
*** 28,32 ****
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = '';
--- 28,32 ----
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 100,105 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 100,104 ----
break;
}
! return $sTranslated;
}
***************
*** 112,121 ****
return 'now';
}
-
return $sDefault;
}
/* Inverse of above, convert sql column types to array info */
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0,
$sTranslated = '')
{
$sTranslated = '';
--- 111,119 ----
return 'now';
}
return $sDefault;
}
/* Inverse of above, convert sql column types to array info */
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 187,192 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 185,189 ----
break;
}
! return $sTranslated;
}
***************
*** 229,233 ****
$scale = $scales[1];
}
! $this->rTranslateType($colinfo[0], $prec,
$scale, $type);
if ($oProc->m_odb->f(2) == 'YES')
--- 226,230 ----
$scale = $scales[1];
}
! $type = $this->rTranslateType($colinfo[0],
$prec, $scale);
if ($oProc->m_odb->f(2) == 'YES')
Index: class.schema_proc_pgsql.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/setup/inc/Attic/class.schema_proc_pgsql.inc.php,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -C2 -r1.10 -r1.10.2.1
*** class.schema_proc_pgsql.inc.php 11 Jan 2002 03:40:59 -0000 1.10
--- class.schema_proc_pgsql.inc.php 11 Apr 2002 14:11:05 -0000 1.10.2.1
***************
*** 32,36 ****
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
switch($sType)
--- 32,36 ----
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0)
{
switch($sType)
***************
*** 90,95 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 90,94 ----
break;
}
! return $sTranslated;
}
***************
*** 102,111 ****
return 'now';
}
-
return $sDefault;
}
/* Inverse of above, convert sql column types to array info */
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = '';
--- 101,109 ----
return 'now';
}
return $sDefault;
}
/* Inverse of above, convert sql column types to array info */
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 167,172 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 165,169 ----
break;
}
! return $sTranslated;
}
***************
*** 272,276 ****
}
!
$this->rTranslateType($sdb->f(2),$prec,$scale,$type);
$sql_get_default = "
--- 269,273 ----
}
! $type = $this->rTranslateType($sdb->f(2),
$prec, $scale);
$sql_get_default = "
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: setup/inc class.schema_proc.inc.php,1.3,1.3.2.1 class.schema_proc_array.inc.php,1.2,1.2.2.1 class.schema_proc_mssql.inc.php,1.2.2.1,1.2.2.2 class.schema_proc_mysql.inc.php,1.6.2.1,1.6.2.2 class.schema_proc_pgsql.inc.php,1.10,1.10.2.1,
Mark A Peters <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc_mysql.inc.php,1.3,1.4
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc.inc.php,1.1,1.2 class.schema_proc_array.inc.php,1.1,1.2 class.schema_proc_mssql.inc.php,1.1,1.2 class.schema_proc_mysql.inc.php,1.4,1.5 class.schema_proc_pgsql.inc.php,1.2,1.3
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc_mysql.inc.php,1.3,1.4
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc.inc.php,1.1,1.2 class.schema_proc_array.inc.php,1.1,1.2 class.schema_proc_mssql.inc.php,1.1,1.2 class.schema_proc_mysql.inc.php,1.4,1.5 class.schema_proc_pgsql.inc.php,1.2,1.3
- Index(es):