Closed (fixed)
Project:
DBTNG
Version:
6.x-1.0-alpha7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2010 at 15:13 UTC
Updated:
25 Mar 2011 at 23:31 UTC
After installing DBTNG and Migrate 2, I received database errors that the table "migrate_status" was missing. My database uses prefixed tables, and after further testing it looked like db_prefix was not being accounted for.
I have attached a patch that loads prefix information into the $databases global array in dbtng_init(). This is working as expected in my current implementation, and is now correctly prefixing tables when performing queries.
I saw a couple other prefix-related issues in issue queue, but they didn't seem to be the same issue as what I encountered. Sorry if this is a duplicate... hopefully this is helpful.
| Comment | File | Size | Author |
|---|---|---|---|
| fix_prefix.patch | 1.22 KB | justin2pin |
Comments
Comment #1
jonathan webb commentedWorked for me on alpha7
Comment #2
Ryan Palmer commentedI had the exact same issue, and this patch worked for me as well.
Comment #3
mikey_p commentedHI, I think a fix for this made it into dbtng 6.x-1.x branch before you submitted this patch. Please try rc1 or rc2 when it's out and let me know if you still have this problem.