Closed (fixed)
Project:
Drupal core
Version:
8.0.0
Component:
mysql db driver
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
19 Aug 2015 at 23:24 UTC
Updated:
27 Jun 2016 at 23:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Crell commentedComment #3
neclimdul2 possible approaches. I don't know if its valid to rely on the values in getConnectionOptions or not.
Comment #4
Crell commentedOption 2 is definitely the better approach, no question.
Committers: The 703 KB patch from #3 is what is RTBC, not the other one. :-)
Comment #5
webchickHm. Not sure of a good way to test this, so let's go with the fix for now.
Committed and pushed mysql_s_schema-2554241-2.patch to 8.0.x. Thanks!
Comment #8
dave reidThis needs to be backported to Drupal 7 as well as per #2223073: Calling DatabaseSchema::getPrefixInfo() on a non-default connection returns the wrong database - write tests.
Comment #9
David_Rothstein commentedThe backport is happening in #2311305: Schema::getPrefixInfo() return value refers to the wrong database (with #2223073: Calling DatabaseSchema::getPrefixInfo() on a non-default connection returns the wrong database - write tests repurposed to be about adding tests, since there are some in the patches there but none were ever written here).