Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
system.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2008 at 12:35 UTC
Updated:
11 Mar 2009 at 14:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
stefanor commentedAlso obtained, upgrading from 5.10 -> 6.4. The problem is that whereas in MySQL "AS" is optional, in PostgreSQL it isn't.
Patch attached.
Comment #2
nigel commentedHi. I also have this problem, but prepared a different patch. The first patch doesn't work in PostgreSQL 8.1, as per the following:
Attached is a patch that works for postgres 8.1. I can't test it in mysql or postgres 8.2/3 at this stage, would appreciate it if someone else could.
Comment #3
nigel commentedBumping this to critical (after discussion on #drupal-support). If the patch is not applied (and the query fails), then all data from term_node seems to be deleted :(
Comment #4
stefanor commentedNigel's patch was missing prefix support.
Comment #5
markstos commentedThis bug still exists in Drupal 6.9.
Comment #6
vacilando commentedSee potentially related problem at http://drupal.org/node/365664 (MySQL).
Comment #7
plj commentedJust tested stefanor's patch against a site to be upgraded from 5.15 to 6.10-dev (20090225); works like a champ.
Comment #8
gábor hojtsyCommitted to Drupal 6, thanks. Since Drupal 7 will remove Drupal 6 database updates by design, it is not applicable there.