aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-01-16 01:11:58 +0100
committerRobin Appelman <icewind@owncloud.com>2012-01-16 01:11:58 +0100
commitda33229dab7aefee6f2de0ac6f128feaf767388b (patch)
tree33f7b9446aa3b0c180b5049aa06642c5c367ecce /3rdparty
parentb366b0eb521163c2d10322c3e7567970a23c20f9 (diff)
downloadnextcloud-server-da33229dab7aefee6f2de0ac6f128feaf767388b.tar.gz
nextcloud-server-da33229dab7aefee6f2de0ac6f128feaf767388b.zip
fix some pgsql strict warnings
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/MDB2/Driver/Manager/pgsql.php32
-rw-r--r--3rdparty/MDB2/Driver/Reverse/pgsql.php10
2 files changed, 21 insertions, 21 deletions
diff --git a/3rdparty/MDB2/Driver/Manager/pgsql.php b/3rdparty/MDB2/Driver/Manager/pgsql.php
index a2e80caa5ce..a61821ef053 100644
--- a/3rdparty/MDB2/Driver/Manager/pgsql.php
+++ b/3rdparty/MDB2/Driver/Manager/pgsql.php
@@ -68,7 +68,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function createDatabase($name, $options = array())
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -95,7 +95,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function alterDatabase($name, $options = array())
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -122,7 +122,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function dropDatabase($name)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -181,7 +181,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function truncateTable($name)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -209,7 +209,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function vacuum($table = null, $options = array())
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -326,7 +326,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function alterTable($name, $changes, $check)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -441,7 +441,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function listDatabases()
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -474,7 +474,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function listUsers()
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -501,7 +501,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function listViews($database = null)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -680,7 +680,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function listTableFields($table)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -716,7 +716,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function listTableIndexes($table)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -769,7 +769,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function dropConstraint($table, $name, $primary = false)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -817,7 +817,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function listTableConstraints($table)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -882,7 +882,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function createSequence($seq_name, $start = 1)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -904,7 +904,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function dropSequence($seq_name)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -924,7 +924,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
*/
function listSequences($database = null)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
diff --git a/3rdparty/MDB2/Driver/Reverse/pgsql.php b/3rdparty/MDB2/Driver/Reverse/pgsql.php
index 649c1cad9ee..8669c2b919b 100644
--- a/3rdparty/MDB2/Driver/Reverse/pgsql.php
+++ b/3rdparty/MDB2/Driver/Reverse/pgsql.php
@@ -69,7 +69,7 @@ class MDB2_Driver_Reverse_pgsql extends MDB2_Driver_Reverse_Common
*/
function getTableFieldDefinition($table_name, $field_name)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -198,7 +198,7 @@ class MDB2_Driver_Reverse_pgsql extends MDB2_Driver_Reverse_Common
*/
function getTableIndexDefinition($table_name, $index_name)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -256,7 +256,7 @@ class MDB2_Driver_Reverse_pgsql extends MDB2_Driver_Reverse_Common
*/
function getTableConstraintDefinition($table_name, $constraint_name)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -443,7 +443,7 @@ class MDB2_Driver_Reverse_pgsql extends MDB2_Driver_Reverse_Common
*/
function getTriggerDefinition($trigger)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
@@ -517,7 +517,7 @@ class MDB2_Driver_Reverse_pgsql extends MDB2_Driver_Reverse_Common
return parent::tableInfo($result, $mode);
}
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}