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.
very small patch from looking at drupal_install_system
as part of #340052: speedup simpletest by preloading the registry.
* we call drupal_init_database twice for no apparent reason
* drupal_install_init_database
has a static variable that appears to be guarding against running its body twice, but its not updated on the first run
attached patch fixes these issues.
Comment | File | Size | Author |
---|---|---|---|
dont_init_db_twice.patch | 1.06 KB | Anonymous (not verified) | |
Comments
Comment #1
swentel CreditAttribution: swentel commentedInstalling works after this patch, let's hope the testbot is happy too :)
Comment #2
webchickNice catch; this was completely silly.
Committed to HEAD.