diff options
| author | Damien Regad <dregad@mantisbt.org> | 2023-04-16 18:27:39 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2023-05-22 18:19:05 +0200 |
| commit | 931a81fd79b5f924a9a1e3c8813c62f0f63b2182 (patch) | |
| tree | 00fb4d37f170fc7ef3d3568795545c540dc90428 /drivers | |
| parent | ca35e44a0820a60a4780c49f7a41e5f71d33c18f (diff) | |
| download | adodb-931a81fd79b5f924a9a1e3c8813c62f0f63b2182.tar.gz adodb-931a81fd79b5f924a9a1e3c8813c62f0f63b2182.tar.bz2 adodb-931a81fd79b5f924a9a1e3c8813c62f0f63b2182.zip | |
Remove incorrect usage of reference operator (&)
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/adodb-ads.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/adodb-ads.inc.php b/drivers/adodb-ads.inc.php index 211f1c8c..e6cd4f3b 100644 --- a/drivers/adodb-ads.inc.php +++ b/drivers/adodb-ads.inc.php @@ -287,7 +287,7 @@ class ADODB_ads extends ADOConnection // Returns tables,Views or both on successful execution. Returns // tables by default on successful execution. - function &MetaTables($ttype = false, $showSchema = false, $mask = false) + function MetaTables($ttype = false, $showSchema = false, $mask = false) { $recordSet1 = $this->Execute("select * from system.tables"); if (!$recordSet1) { @@ -325,7 +325,7 @@ class ADODB_ads extends ADOConnection } - function &MetaPrimaryKeys($table, $owner = false) + function MetaPrimaryKeys($table, $owner = false) { $recordSet = $this->Execute("select table_primary_key from system.tables where name='$table'"); if (!$recordSet) { @@ -533,7 +533,7 @@ class ADODB_ads extends ADOConnection } // Returns an array of columns names for a given table - function &MetaColumnNames($table, $numIndexes = false, $useattnum = false) + function MetaColumnNames($table, $numIndexes = false, $useattnum = false) { $recordSet = $this->Execute("select name from system.columns where parent='$table'"); if (!$recordSet) { @@ -753,7 +753,7 @@ class ADORecordSet_ads extends ADORecordSet function &GetArrayLimit($nrows, $offset = -1) { if ($offset <= 0) { - $rs =& $this->GetArray($nrows); + $rs = $this->GetArray($nrows); return $rs; } $savem = $this->fetchMode; @@ -762,7 +762,7 @@ class ADORecordSet_ads extends ADORecordSet $this->fetchMode = $savem; if ($this->fetchMode & ADODB_FETCH_ASSOC) { - $this->fields =& $this->GetRowAssoc(); + $this->fields = $this->GetRowAssoc(); } $results = array(); @@ -795,7 +795,7 @@ class ADORecordSet_ads extends ADORecordSet $rez = @ads_fetch_into($this->_queryID, $this->fields); if ($rez) { if ($this->fetchMode & ADODB_FETCH_ASSOC) { - $this->fields =& $this->GetRowAssoc(); + $this->fields = $this->GetRowAssoc(); } return true; } |
