是怎么无法正常进行数据查询的?

On Apr 28, 2014, at 5:59 PM, Rui Ma <notifications@github.com> wrote:

> In libraries/q/query.php:
> 
> > @@ -658,17 +658,21 @@ function makeSQL() {
> >  
> >  			$SQL = trim($SQL);
> >  
> > -			if ($this->union) {
> > -				$SQL = '('.$SQL.') UNION ('.implode(') UNION (', $this->union).')';
> > -				$count_SQL = 'SELECT COUNT(*) count FROM ('.$SQL.') union_table';
> > +            if ($this->union) {
> > +                $SQL = '('.$SQL.') UNION ('.implode(') UNION (', $this->union).')';
> > +                $count_SQL = 'SELECT COUNT(*) count FROM ('.$SQL.') union_table';
> 是的，正常进行:union() 后转换为的SQL语句无法正常进行数据查询
> 
> —
> Reply to this email directly or view it on GitHub.
>