diff options
| author | Damien Regad <dregad@mantisbt.org> | 2021-11-07 15:07:20 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2021-11-07 15:07:20 +0100 |
| commit | 38bd9a8f16cb5ec13d180a20f279f71d28622bbb (patch) | |
| tree | 4074e9e03fb1b0379dfe78f596e9560c95ddf727 | |
| parent | 88796d63bc11d2e8cdf8a33490bf8b41ee06019f (diff) | |
| download | adodb-38bd9a8f16cb5ec13d180a20f279f71d28622bbb.tar.gz adodb-38bd9a8f16cb5ec13d180a20f279f71d28622bbb.tar.bz2 adodb-38bd9a8f16cb5ec13d180a20f279f71d28622bbb.zip | |
Whitespace
| -rw-r--r-- | adodb.inc.php | 1 | ||||
| -rw-r--r-- | drivers/adodb-informix72.inc.php | 8 | ||||
| -rw-r--r-- | drivers/adodb-mssqlnative.inc.php | 10 | ||||
| -rw-r--r-- | drivers/adodb-mysql.inc.php | 4 | ||||
| -rw-r--r-- | drivers/adodb-mysqli.inc.php | 1 | ||||
| -rw-r--r-- | drivers/adodb-oci8.inc.php | 4 | ||||
| -rw-r--r-- | drivers/adodb-sqlite3.inc.php | 2 |
7 files changed, 15 insertions, 15 deletions
diff --git a/adodb.inc.php b/adodb.inc.php index e30065f6..0c32f1a4 100644 --- a/adodb.inc.php +++ b/adodb.inc.php @@ -1781,6 +1781,7 @@ if (!defined('_ADODB_LAYER')) { function MetaForeignKeys($table, $owner=false, $upper=false) { return false; } + /** * Choose a database to connect to. Many databases do not support this. * diff --git a/drivers/adodb-informix72.inc.php b/drivers/adodb-informix72.inc.php index a9c43e23..41494236 100644 --- a/drivers/adodb-informix72.inc.php +++ b/drivers/adodb-informix72.inc.php @@ -253,12 +253,12 @@ class ADODB_informix72 extends ADOConnection { return $false; } - function xMetaColumns($table) - { + function xMetaColumns($table) + { return ADOConnection::MetaColumns($table,false); - } + } - function MetaForeignKeys($table, $owner=false, $upper=false) //!Eos + function MetaForeignKeys($table, $owner=false, $upper=false) //!Eos { $sql = " select tr.tabname,updrule,delrule, diff --git a/drivers/adodb-mssqlnative.inc.php b/drivers/adodb-mssqlnative.inc.php index 6d6a0068..27564a6d 100644 --- a/drivers/adodb-mssqlnative.inc.php +++ b/drivers/adodb-mssqlnative.inc.php @@ -1008,11 +1008,11 @@ class ADODB_mssqlnative extends ADOConnection { return $metaProcedures; } - + /** - * An SQL Statement that adds a specific number of + * An SQL Statement that adds a specific number of * days or part to local datetime - * + * * @param float $dayFraction * @param string $date * @@ -1025,7 +1025,7 @@ class ADODB_mssqlnative extends ADOConnection { * Use GETDATE() via systTimestamp; */ $date = $this->sysTimeStamp; - + /* * seconds, number of seconds, date base */ @@ -1035,7 +1035,7 @@ class ADODB_mssqlnative extends ADOConnection { * Adjust the offset back to seconds */ $fraction = $dayFraction * 24 * 3600; - + return sprintf($dateFormat,$fraction,$date); } diff --git a/drivers/adodb-mysql.inc.php b/drivers/adodb-mysql.inc.php index ed5570c9..9bd54c22 100644 --- a/drivers/adodb-mysql.inc.php +++ b/drivers/adodb-mysql.inc.php @@ -869,9 +869,9 @@ class ADORecordSet_mysql extends ADORecordSet{ $t = $fieldobj->type; $len = $fieldobj->max_length; } - + $t = strtoupper($t); - + if (array_key_exists($t,$this->connection->customActualTypes)) return $this->connection->customActualTypes[$t]; diff --git a/drivers/adodb-mysqli.inc.php b/drivers/adodb-mysqli.inc.php index 4364c9e2..fa9fdc03 100644 --- a/drivers/adodb-mysqli.inc.php +++ b/drivers/adodb-mysqli.inc.php @@ -846,7 +846,6 @@ class ADODB_mysqli extends ADOConnection { */ function MetaForeignKeys($table, $owner = false, $upper = false, $associative = false) { - global $ADODB_FETCH_MODE; if ($ADODB_FETCH_MODE == ADODB_FETCH_ASSOC diff --git a/drivers/adodb-oci8.inc.php b/drivers/adodb-oci8.inc.php index 4dc93b1c..e660d467 100644 --- a/drivers/adodb-oci8.inc.php +++ b/drivers/adodb-oci8.inc.php @@ -1809,9 +1809,9 @@ class ADORecordset_oci8 extends ADORecordSet { $t = $fieldobj->type; $len = $fieldobj->max_length; } - + $t = strtoupper($t); - + if (array_key_exists($t,$this->connection->customActualTypes)) return $this->connection->customActualTypes[$t]; diff --git a/drivers/adodb-sqlite3.inc.php b/drivers/adodb-sqlite3.inc.php index 7f945620..901f6468 100644 --- a/drivers/adodb-sqlite3.inc.php +++ b/drivers/adodb-sqlite3.inc.php @@ -807,4 +807,4 @@ class ADORecordset_sqlite3 extends ADORecordSet { { } -}
\ No newline at end of file +} |
