From a0b15dcb12b0f8ae3063bf4d1571d6defea503ea Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Fri, 12 Oct 2012 19:26:15 +0200
Subject: [PATCH] Fix syntax error in postgres table check code

---
 tests/lib/dbschema.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/lib/dbschema.php b/tests/lib/dbschema.php
index 4796ada692..cd408160af 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();
-- 
GitLab