Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Critical
Category:
Bug report
Reporter:
Anonymous (not verified)
Created:
29 Nov 2008 at 11:30 UTC
Updated:
21 Sep 2021 at 20:41 UTC
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 commentedInstalling works after this patch, let's hope the testbot is happy too :)
Comment #2
webchickNice catch; this was completely silly.
Committed to HEAD.