[Solar-svn] Revision 2750
pmjones at solarphp.com
pmjones at solarphp.com
Sat Sep 8 14:54:29 CDT 2007
updated comments
Modified: branches/orm/Solar/Sql/Select.php
===================================================================
--- branches/orm/Solar/Sql/Select.php 2007-09-08 19:49:16 UTC (rev 2749)
+++ branches/orm/Solar/Sql/Select.php 2007-09-08 19:54:29 UTC (rev 2750)
@@ -907,7 +907,8 @@
// get a count of how many sources there are. if there's only 1, we
// won't use column-name prefixes below. this will help soothe SQLite
- // on JOINs of sub-selects; e.g., `JOIN (SELECT ...) AS ...`.
+ // on JOINs of sub-selects. e.g., `JOIN (SELECT alias.col FROM tbl AS alias) ...`
+ // won't work right, it needs `JOIN (SELECT col FROM tbl AS alias)`.
$count_sources = count($this->_sources);
// build from sources.
More information about the Solar-svn
mailing list