Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the patches at http://drupal.org/project/issues/search/drupal?text=&assigned=&submitted... are in, there are only a few missing bits and pieces to convert. There are a few things I'm not sure about, but the attached patch will convert almost all of them.
It will currently fail, because the INSERT INTO () FROM patch needs to go in first.
Comment | File | Size | Author |
---|---|---|---|
#8 | dbtng_convert_remaining5.patch | 21.83 KB | Berdir |
#7 | dbtng_convert_remaining4.patch | 21.83 KB | Berdir |
#5 | dbtng_convert_remaining3.patch | 22.3 KB | Berdir |
#3 | dbtng_convert_remaining2.patch | 22.3 KB | Berdir |
dbtng_convert_remaining.patch | 27.2 KB | Berdir | |
Comments
Comment #2
cafuego CreditAttribution: cafuego commentedI've addressed some of these (specifically a bunch in system.install) in #497684: system.install incorrectly assumes more sequential IDs
Comment #3
BerdirRe-roll, left out the user pieces in system_install(), because the sequences API patch should take care of that.
Comment #5
BerdirTiny error fixed...
Comment #6
Damien Tournoud CreditAttribution: Damien Tournoud commentedNice job, again! A few issues:
^ Those (there are a few of them) are dynamic queries. They *need* to be converted to db_select() ;)
^ ?
Comment #7
BerdirRe-rolled with the things mentioned by DamZ fixed.
That variable_set() is currently in system_install(), where it imho makes no sense. It was a INSERT-query before but has been converted to variable_set() now. I removed it and leaving this for another issue, as it is not DBTNG-related anymore.
Comment #8
BerdirThere was a typo in the currently untested statistics_cron() function...
Comment #9
Dries CreditAttribution: Dries commentedLooked at it, and couldn't see anything wrong. Committed to CVS HEAD! Incredible job, Berdir.
Comment #10
moshe weitzman CreditAttribution: moshe weitzman commentedGreat stuff. Is there compatibility layer code that we can remove from DBTNG?
Comment #11
Crell CreditAttribution: Crell commentedI think we still need to finish #394182: DBTNG search.module first before we're done, but possibly. I'll try to have a look later tonight and see.