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.
(This is a split and lightweight version of http://drupal.org/node/199217)
Schema API is something database-platform dependent, but not PHP DB driver dependent. On the other hand, it seems to be unnecessary complicated to handle 2 section (@ingroup database
and @ingroup schemaapi
) within single file.
This patch split Schema API into individual schema.xxx.inc files, for a better upgrade and maintenance handling. Just a cut-and-paste handling.
Comment | File | Size | Author |
---|---|---|---|
#4 | split_schema_api-0.2.patch | 97.25 KB | hswong3i |
split_schema_api-0.1.patch | 59.45 KB | hswong3i | |
Comments
Comment #1
PanchoMakes a lot of sense. Not yet checked it line by line and/or tested it though.
Comment #2
chx CreditAttribution: chx commentedCan't see this happen now. I provided a common.inc and a menu.inc split and Dries said http://drupal.org/node/191448#comment-631812 that we are not splitting inc files in this release. Might be in the next. So, before you reset as you usually do saying that I can't make such decisions, read Dries' saying on this in the linked comment.
Comment #3
hswong3i CreditAttribution: hswong3i commented(This is part of my personal research project Siren's issue.)
Comment #4
hswong3i CreditAttribution: hswong3i commentedSince D7 is now open for public development, and this is the common base for most of the other DB API revamp handling, hope it is now the good timing for review this patch.
Patch reroll via latest CVS HEAD (7.x). Only coming with basic cut & paste handling, plus very minor essential change in db_version() of MySQL. I don't give any other syntax change nor clean up within this patch, so it should able to work as a reference point for further more development.
Comment #5
hswong3i CreditAttribution: hswong3i commentedsorry that i merge both splitting of Schema API and common abstraction within this patch. BTW, they are still simple cut & paste handling ;-)
----------------------------------------
What do you hope from my personal blog??
Comment #6
hswong3i CreditAttribution: hswong3i commentedI set this issue as duplicated with http://drupal.org/node/199217