Add JOIN support to JDatabaseQuery UPDATE query #547

Merged
merged 1 commit into from Nov 23, 2011

3 participants

@mbabker
Joomla! member

JDatabaseQuery::__toString() currently does not handle JOIN statements in the UPDATE case. This causes UPDATE queries that are joined to another table to fail due to the table not being joined. Added support for this as well as a unit test testing the toString update case.

@joomla-jenkins

Unit testing complete. There were 0 failures and 0 errors from 1736 tests and 10783 assertions.
Checkstyle analysis reported 235 warnings and 0 errors.

@eddieajau

Good one. I didn't know you could do that. Thanks!

@eddieajau eddieajau merged commit 94b0903 into joomla:staging Nov 23, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment