API page: http://api.drupal.org/api/drupal/includes%21database%21database.inc/func...
Enter a descriptive title (above) relating to db_rename_table, then describe the problem you have found:
> $table: The table to be renamed.
Given Drupal's love of monster arrays, this parameter could be construed as being a schema API array. It would be clearer to say 'the current name of the table to rename'.
Comment | File | Size | Author |
---|---|---|---|
#7 | make-param-in-db_rename_table-clearer-1703184-1.patch | 796 bytes | salah1 |
#3 | make-param-in-db_rename_table-clearer-1703184-1.patch | 775 bytes | salah1 |
Comments
Comment #1
jhodgdonSounds like a good suggestion. Good Novice patch project... ah, you already tagged it. Thanks!
Comment #2
salah1Comment #3
salah1Comment #4
joachim CreditAttribution: joachim commentedPerfect! Thanks!
Comment #5
salah1Working on the backport to D7
Comment #6
jhodgdonUsually it's best to wait until the 8.x patch is actually committed before working on a 7.x patch. Sometimes, the committer finds something wrong and sets the issue back to "needs work", and sometimes the same patch can be applied to 7.x (by ignoring path segments), so there's no need to make a new patch at all.
Anyway, I just committed the above patch to 8.x, thanks! I
think David is working on a 7.x release this morning, so I don't want to commit anything to 7.x at the moment... And in this case the function is in a completely different file for D7 so it does need to be ported.
Comment #7
salah1Here is the D7 Patch. Thanks
Comment #8
jhodgdonThanks! I'll get this committed.
Comment #9
jhodgdonCommitted to 7.x. Thanks again!