Issues

ZF-2817: join without columns

Issue Type: Bug Created: 2008-03-06T16:25:37.000+0000 Last Updated: 2008-09-02T10:39:36.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Marc Bennewitz (GIATA mbH) (mben) Assignee: Simon Mundy (peptolab) Tags: - Zend_Db_Select

Related issues: Attachments:

Description

the following code generate an invalid select column

<pre class="highlight">
// ...
$dbSelect->joinInner(
    array($tableAs => $table),
    $where,
    null
);
// -> SELECT [.....]  `myTableAs`.``, .[....]  FROM [.....]
//      `myTableAs`.``  is wrong

but the following success

<pre class="highlight">
// ...
$dbSelect->joinInner(
    array($tableAs => $table),
    $where,
    array()
);

Comments

Posted by Thomas Weidner (thomas) on 2008-03-11T03:36:14.000+0000

Class will be reworked by Simon... sorry if I confused anybody. He has a better overview over the complete Db design, not only Zend_Db_Select and will help better than me.

Posted by Wil Sinclair (wil) on 2008-03-25T21:29:10.000+0000

Please categorize/fix as needed.

Posted by Simon Mundy (peptolab) on 2008-03-26T23:26:53.000+0000

Resolved in trunk r9060

Posted by Wil Sinclair (wil) on 2008-04-21T14:52:14.000+0000

Updating affects and fix versions per IT policy. This should be pushed out with the next mini release.

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:36.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts