From 138399ad00aadb3e6ddb8a91e783467bca51f8a6 Mon Sep 17 00:00:00 2001 From: Wil Mahan Date: Wed, 29 Sep 2004 05:53:01 +0000 Subject: [PATCH] stupid PostgreSQL insists on parentheses :) --- maintenance/parserTests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/parserTests.php b/maintenance/parserTests.php index 9e6b1b8396..117b1e2a73 100644 --- a/maintenance/parserTests.php +++ b/maintenance/parserTests.php @@ -313,7 +313,7 @@ class ParserTest { if (!(strcmp($db->getServerVersion(), '4.1') < 0 and stristr($db->getSoftwareLink(), 'MySQL'))) { # Database that supports CREATE TABLE ... LIKE foreach ($tables as $tbl) { - $db->query("CREATE TEMPORARY TABLE $wgDBprefix$tbl LIKE $tbl"); + $db->query("CREATE TEMPORARY TABLE $wgDBprefix$tbl (LIKE $tbl)"); } } else { -- 2.20.1