This was discovered with some simpletests, that dbtng doesn't respect the default prefix that is specified by the $db_prefix global (which is in turn set by the user agent in settings.php with simpletest for D6).
This was discovered with some simpletests, that dbtng doesn't respect the default prefix that is specified by the $db_prefix global (which is in turn set by the user agent in settings.php with simpletest for D6).
Comments
Comment #1
mikey_p commentedActually it seems that the global prefix variable is the same in 6 & 7, so I'm not sure what the problem is here. sdboyer reports that for his tests with VC_API that it seems to be prefixing twice on certain queries.
Comment #2
sdboyer commentedIt looks like only non-dbtng-driven queries have the problem.
Comment #3
sdboyer commentedMarking this git phase 2, since i think this is the thing that's really screwin us.
Comment #4
sdboyer commentedComment #5
webchickComment #6
mikey_p commentedWeren't able to recreate this with head. Try alpha6 and see if this resolves the issue.
Comment #7
marvil07 commentedthanks you very much mikey_p!!
it was a nightmare trying to find the error at vcs api tests :-) and with the new dbtng release it works! (actually need to fix tests, but no more doble-prefix error! yay!)
Comment #8
marvil07 commentedI was tempted to re-open this, but I think #914392: While testing, default prefix is used instead of simpletest prefix by dbtng-driven queries describes it now.