Zend Framework

join without columns

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5.1
  • Fix Version/s: 1.6.0
  • Component/s: Zend_Db_Select
  • Labels:
    None

Description

the following code generate an invalid select column

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

but the following success

// ...
$dbSelect->joinInner(
	array($tableAs => $table),
	$where,
	array()
);

Activity

Hide
Thomas Weidner added a comment -

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.

Show
Thomas Weidner added a comment - 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.
Hide
Wil Sinclair added a comment -

Please categorize/fix as needed.

Show
Wil Sinclair added a comment - Please categorize/fix as needed.
Hide
Simon Mundy added a comment -

Resolved in trunk r9060

Show
Simon Mundy added a comment - Resolved in trunk r9060
Hide
Wil Sinclair added a comment -

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

Show
Wil Sinclair added a comment - Updating affects and fix versions per IT policy. This should be pushed out with the next mini release.
Hide
Wil Sinclair added a comment -

Updating for the 1.6.0 release.

Show
Wil Sinclair added a comment - Updating for the 1.6.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: