Error about insert into `sequences` when installing with table prefix

bryce - March 28, 2007 - 02:02
Project:Wiki installation profile
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:patch (code needs review)
Description

I installed two drupals into one database, one with no table prefix, one with 'test_' as the prefix.

Installing drupal_wiki into the latter one resulted in an error message about failing to insert into `sequence` due to a duplicate uid.

Looking at the profile code, it appears this is because the table `sequence` is not in brackets as it should. The attached patch may fix it, but I don't know if sequence is in backquotes for a reason, so this'd need review.

AttachmentSize
sequences_0.patch756 bytes

#1

rötzi - April 5, 2007 - 01:15

Thanks for the patch. This will be in the next version.

 
 

Drupal is a registered trademark of Dries Buytaert.