[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc.inc.php,1.1,1.2 c
From: |
Mark A Peters <address@hidden> |
Subject: |
[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 |
Date: |
Thu, 11 Apr 2002 10:12:36 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv637/phpgwapi/inc
Modified Files:
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/phpgwapi/inc/class.schema_proc.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.schema_proc.inc.php 3 Mar 2002 21:48:34 -0000 1.1
--- class.schema_proc.inc.php 11 Apr 2002 14:12:34 -0000 1.2
***************
*** 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/phpgwapi/inc/class.schema_proc_array.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.schema_proc_array.inc.php 3 Mar 2002 21:48:34 -0000 1.1
--- class.schema_proc_array.inc.php 11 Apr 2002 14:12:34 -0000 1.2
***************
*** 25,32 ****
/* Return a type suitable for DDL abstracted array */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = $sType;
! return (strlen($sTranslated) > 0);
}
--- 25,32 ----
/* 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/phpgwapi/inc/class.schema_proc_mssql.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.schema_proc_mssql.inc.php 3 Mar 2002 21:48:34 -0000 1.1
--- class.schema_proc_mssql.inc.php 11 Apr 2002 14:12:34 -0000 1.2
***************
*** 31,35 ****
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = '';
--- 31,35 ----
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 99,104 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 99,103 ----
break;
}
! return $sTranslated;
}
***************
*** 116,120 ****
// Inverse of above, convert sql column types to array info
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = '';
--- 115,119 ----
// Inverse of above, convert sql column types to array info
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 183,188 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 182,186 ----
break;
}
! return $sTranslated;
}
***************
*** 225,229 ****
$scale = $scales[1];
}
! $this->rTranslateType($colinfo[0], $prec,
$scale, &$type);
if ($oProc->m_odb->f(2) == 'YES')
--- 223,227 ----
$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/phpgwapi/inc/class.schema_proc_mysql.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** class.schema_proc_mysql.inc.php 11 Apr 2002 10:49:06 -0000 1.4
--- class.schema_proc_mysql.inc.php 11 Apr 2002 14:12:34 -0000 1.5
***************
*** 31,35 ****
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = '';
--- 31,35 ----
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 103,108 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 103,107 ----
break;
}
! return $sTranslated;
}
***************
*** 115,124 ****
return 'now';
}
-
return $sDefault;
}
/* Inverse of above, convert sql column types to array info */
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated = '')
{
$sTranslated = '';
--- 114,122 ----
return 'now';
}
return $sDefault;
}
/* Inverse of above, convert sql column types to array info */
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 191,196 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 189,193 ----
break;
}
! return $sTranslated;
}
***************
*** 246,250 ****
$scale = $scales[1];
}
! $this->rTranslateType($colinfo[0], $prec,
$scale, $type);
if ($oProc->m_odb->f(2) == 'YES')
--- 243,247 ----
$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/phpgwapi/inc/class.schema_proc_pgsql.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.schema_proc_pgsql.inc.php 8 Mar 2002 04:10:58 -0000 1.2
--- class.schema_proc_pgsql.inc.php 11 Apr 2002 14:12:34 -0000 1.3
***************
*** 35,39 ****
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
switch($sType)
--- 35,39 ----
/* Return a type suitable for DDL */
! function TranslateType($sType, $iPrecision = 0, $iScale = 0)
{
switch($sType)
***************
*** 93,98 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 93,97 ----
break;
}
! return $sTranslated;
}
***************
*** 105,114 ****
return 'now';
}
-
return $sDefault;
}
/* Inverse of above, convert sql column types to array info */
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0,
&$sTranslated)
{
$sTranslated = '';
--- 104,112 ----
return 'now';
}
return $sDefault;
}
/* Inverse of above, convert sql column types to array info */
! function rTranslateType($sType, $iPrecision = 0, $iScale = 0)
{
$sTranslated = '';
***************
*** 170,175 ****
break;
}
!
! return (strlen($sTranslated) > 0);
}
--- 168,172 ----
break;
}
! return $sTranslated;
}
***************
*** 275,279 ****
}
!
$this->rTranslateType($sdb->f(2),$prec,$scale,$type);
$sql_get_default = "
--- 272,276 ----
}
! $type = $this->rTranslateType($sdb->f(2),
$prec, $scale);
$sql_get_default = "
[Prev in Thread] |
Current Thread |
[Next in 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,
Mark A Peters <address@hidden> <=
- Prev by Date:
[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
- Next by Date:
[Phpgroupware-cvs] CVS: email/inc class.mail_dcom_pop3.inc.php,1.8.2.1,1.8.2.2
- Previous by 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
- Next by thread:
[Phpgroupware-cvs] CVS: email/inc class.mail_dcom_pop3.inc.php,1.8.2.1,1.8.2.2
- Index(es):