When passing schema_compare_table a reference specification from a module's hook_schema (as is recommended in the function docblock) and a null $inspect, then the hook_schema will give the tables without any prefixes, however the inspection will return tables with prefixes. This means that when Drupal is set up to prefix table names, comparisons between the live database and a module's hook_schema are not going to function.

CommentFileSizeAuthor
schema_db_prefix.patch1.38 KBcorsix

Comments

bjaspan’s picture

Status: Needs review » Fixed

Fixed in Schema 6.x-1.2.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

pwolanin’s picture

Status: Closed (fixed) » Needs review

this does not seem to have been committed to the 6.x branch

mikeryan’s picture

Status: Needs review » Fixed

I've committed this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.