Closed (works as designed)
Project:
Smileys
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2008 at 06:37 UTC
Updated:
27 Jun 2009 at 14:51 UTC
The implementation of hook_update_N() is changed in Drupal 6. It should not call update_sql("ALTER TABLE") to alter table, but it should call different functions. See the details in the documentation.
Comments
Comment #1
Gurpartap Singh commentedThat's fine. But the new db functions don't support the "AFTER" bit of:
Comment #2
avpadernoComment #3
avpadernoComment #4
avpadernoUsually, in a table the order of the fields doesn't have importance.
Is there a reason to put a field close to another, when the database engine would be able to find it whatever position it has?
I am sorry for the comments I added; I replied to a report thinking to another one.
This is not a bug, so I am changing the category to task.
Comment #5
Gurpartap Singh commentedWell actually there's no real reason to use AFTER in the query, rather than being sensible and in sync with the new installations. Although that doesn't matter, yet I am reluctant to make that change, maybe because I'm unable to come out of the "sticky preference nature" that I have developed. If you can provide a patch, I'll commit it with eyes closed (not really) :-)
Comment #6
avpadernoIt's easier to change the code in this case, than to apply a patch.
Comment #7
Gurpartap Singh commentedYeah, I'm going to ignore this issue. Not a big deal since I want to stick with my sticky preference. :P