Project

General

Profile

Bug(バグ) #989

[Optimization] Doctrine_Query::andWhereIn() doesn't add conditions if an empty array is specified (空配列が指定された場合、 Doctrine_Query::andWhereIn() が条件式を追加しない)

Added by Kousuke Ebihara over 11 years ago. Updated over 11 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2010-04-27
Due date:
% Done:

100%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

Description

Doctrine_Query::andWhereIn() doesn't add conditions if an empty array is specified.

空配列が指定された場合、 Doctrine_Query::andWhereIn() が条件式を追加しない


Related issues

Related to OpenPNE 3 - Bug(バグ) #991: [Optimization] Doctrine_Query::andWhereIn() add inefficient conditions to a DQL (Doctrine_Query::andWhereIn() が非効率な条件を DQL に追加する) Fixed(完了) 2010-04-27

Associated revisions

Revision fa0e2c6b (diff)
Added by Kousuke Ebihara over 11 years ago

added the opDoctrineQuery::andWhereIn() for injecting dummy condition if an empty array is specified (fixes #989)

History

#1 Updated by Kousuke Ebihara over 11 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

更新履歴 fa0e2c6be851f3f6943d04d1e0d5942bc5aaa0d2 で適用されました。

#2 Updated by Kousuke Ebihara over 11 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)

#3 Updated by Kiwa Sakai over 11 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 50 to 100

Also available in: Atom PDF