Closed (fixed)
Project:
Drupal core
Version:
8.1.x-dev
Component:
database system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Dec 2010 at 02:25 UTC
Updated:
3 Aug 2016 at 10:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chx commentedOh and note that core has all three equal driver and databaseType. So you do not see this. Also note that writing a test for this is impossible as drivers are hardwired into includes/database for D7.
Comment #2
carlos8f commentedOops. But Drupal works fine with the provided drivers, thus not critical.
Comment #3
chx commentedComment #4
Crell commentedSo to clarify here, we have two methods, driver() and databaseType(). The difference between the two is subtle and not exposed in core directly, but does exist. The documentation for driver() makes it clear how they differ but databaseType()'s does not. #3 makes databaseType()'s documentation clearer as well to reduce confusion (such as the confusion that prompted this issue in the first place).
Comment #5
webchickCommitted to HEAD. Thanks!
Comment #6
chx commentedWe totally and absolutely should rename this to PDOdriver...
Comment #7
jhedstromIssue summary needs updating if #6 is still to be done.
Comment #8
chx commentedComment #12
daffie commented