title: Yii with() method
body: <p>I got this code in Yii: </p>
  
  <pre><code> $comment = Comment::model()-&gt;with(array('issue'=&gt; array(
                 'condition'=&gt;'project_id = 1')))-&gt;findAll(array( 
                        'order' =&gt; 't.create_time DESC', 'limit' =&gt; 2, ));
  </code></pre>
  
  <p>when I changed "'limit'=>2" to "'limit' =>null" it passed.</p>
  
  <p>As I understand that if I changed those values the equivalent query will change to: </p>
  
  <pre><code>SELECT tbl_comment . * , tbl_issue . *    FROM tbl_comment
  LEFT JOIN tbl_issue ON tbl_issue.id = tbl_comment.issue_id WHERE tbl_issue.project_id = 1
  LIMIT null
  </code></pre>
  
  <p>I have try on mysql command line and the above query didn't pass on mysql, but it did pass when I use the CODE above in Yii.</p>
  
  <p>So, could you tell me why did this conflic occur?
  Thank you.</p>