[Bug 14990] r37313 broke parser tests for alternative databases.

2009-07-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14990


OverlordQ overlo...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #11 from OverlordQ overlo...@gmail.com  2009-07-21 03:31:49 UTC 
---
Closing as fixed, works now.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 14990] r37313 broke parser tests for alternative databases.

2009-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14990


Alexandre Emsenhuber [IAlex] alex.emsenhu...@bluewin.ch changed:

   What|Removed |Added

 CC||alex.emsenhu...@bluewin.ch




--- Comment #10 from Alexandre Emsenhuber [IAlex] alex.emsenhu...@bluewin.ch  
2009-03-16 21:07:30 UTC ---
Applied in r48455.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 14990] r37313 broke parser tests for alternative databases.

2009-03-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14990


Brent G overlo...@gmail.com changed:

   What|Removed |Added

Attachment #5110 is|0   |1
   obsolete||




--- Comment #7 from Brent G overlo...@gmail.com  2009-03-15 13:39:30 UTC ---
Created an attachment (id=5932)
 -- (https://bugzilla.wikimedia.org/attachment.cgi?id=5932)
parser tests patch

The workaround in bug r15892 

==
Warning: pg_query(): Query failed: ERROR:  relation mwuser already exists in
/var/www/wiki/includes/db/DatabasePostgres.php on line 580
A database error has occurred
Query: CREATE  TABLE mwuser (LIKE mwuser INCLUDING DEFAULTS)
Function:
Error: 1 ERROR:  relation mwuser already exists

Backtrace:
#0 /var/www/wiki/includes/db/Database.php(616):
DatabasePostgres-reportQueryError('ERROR:  relatio...', 1, 'CREATE  TABLE
m...', '', false)
#1 /var/www/wiki/maintenance/parserTests.inc(662): Database-query('CREATE 
TABLE m...')
#2 /var/www/wiki/maintenance/parserTests.inc(270): ParserTest-setupDatabase()
#3 /var/www/wiki/maintenance/parserTests.php(73):
ParserTest-runTestsFromFiles(Array)
#4 {main}
==

Since PG doesn't use table prefixes not putting TEMPORARY in the table creation
statements will just try to create duplicates.

After fixing bug 17992, I made the following changes (will attach as patch),
and parser tests work fine with PG.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 14990] r37313 broke parser tests for alternative databases.

2009-03-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14990





--- Comment #8 from Brent G overlo...@gmail.com  2009-03-15 13:40:22 UTC ---
Meant to say:

The workaround in bug r15892 similarly irritates this same issue.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 14990] r37313 broke parser tests for alternative databases.

2009-03-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=14990


Brent G overlo...@gmail.com changed:

   What|Removed |Added

Attachment #5932 is|0   |1
   obsolete||




--- Comment #9 from Brent G overlo...@gmail.com  2009-03-15 14:09:10 UTC ---
Created an attachment (id=5933)
 -- (https://bugzilla.wikimedia.org/attachment.cgi?id=5933)
re-upping patch last one broken?

FWIW, I didn't test this with multi-servers  PG, YMMV.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l