(This is a split and lightweight version of http://drupal.org/node/199217)
mysqli and pgsql are PHP driver names, but not the name of database product. This patch try to fix:
- INSTALL.pgsql.txt -> INSTALL.postgresql.txt: just a simple rename.
- database.mysql-common.inc -> common.mysql.inc: a simple rename.
- DRUPAL_MINIMUM_PGSQL -> DRUPAL_MINIMUM_POSTGRESQL: a simple rename.
- Update connection error message:
<code>is not allow for _db_error_page() as all error message will pass intotheme('placeholder', $error). Moreover, update PHP modules description. - Update xxx_is_available(): more specific and exactly PHP module checking.
| Comment | File | Size | Author |
|---|---|---|---|
| db_doc_cleanup-0.1.patch | 40.82 KB | hswong3i |
Comments
Comment #1
hswong3i commentedShall we have this with D6?
Comment #2
moshe weitzman commentedthis is high risk and completely optional and minor.
Comment #3
hswong3i commented@moshe: Well, I don't really understand why is it "high risky"... The first 3 changes are both simple rename without any functionality change, and mainly target for internal usage; 4. is a bug fix; 5. is a very simple feature enhancement, which is already proved as function in database.mysqli.inc implementation.
It may be optional and minor (as no functionality changes or enhancement), but I really not understand about how risky it is. Risky code is something we always hope to avoid for. Would you mind to provide more detail explanation for your comment?
Comment #4
lilou commentedThe file structure for the database drivers has now changed completely.