diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-10-12 19:26:15 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-12 19:26:15 +0200 |
commit | a0b15dcb12b0f8ae3063bf4d1571d6defea503ea (patch) | |
tree | 40cbaf51e9135d5b8a9a2c24f204439fa27312d0 | |
parent | 70c7ee6fc7e45f6f70ea0dddee2ad44cceed5c7b (diff) | |
download | nextcloud-server-a0b15dcb12b0f8ae3063bf4d1571d6defea503ea.tar.gz nextcloud-server-a0b15dcb12b0f8ae3063bf4d1571d6defea503ea.zip |
Fix syntax error in postgres table check code
-rw-r--r-- | tests/lib/dbschema.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/dbschema.php b/tests/lib/dbschema.php index 4796ada6921..cd408160afb 100644 --- a/tests/lib/dbschema.php +++ b/tests/lib/dbschema.php @@ -93,7 +93,7 @@ class Test_DBSchema extends UnitTestCase { $sql = "SELECT tablename AS table_name, schemaname AS schema_name " . "FROM pg_tables WHERE schemaname NOT LIKE 'pg_%' " . "AND schemaname != 'information_schema' " - . "AND tablename == '".$table."'"; + . "AND tablename = '".$table."'"; $query = OC_DB::prepare($sql); $result = $query->execute(array()); $exists = $result && $result->fetchOne(); |