Bug Report #1201

Database Driver allow BETWEEN as a recognized operator in method has_operator()

Added by Blake Lucchesi - almost 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Kiall Mac Innes % Done:

100%

Category:Core
Target version:2.3.3
Resolution:fixed Points:

Description

I'm not sure how to write the regular expression but here is a start, I added the check to find 'BETWEEN', NOT BETWEEN is needed also though. Hope this helps.

mysql docs: http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_between

postres docs: http://www.postgresql.org/docs/8.2/static/functions-comparison.html

database-driver-between.diff (465 Bytes) Blake Lucchesi -, 03/24/2009 06:27 am

Associated revisions

Revision 4325
Added by Kiall Mac Innes almost 3 years ago

fixes #1201 - Thanks Blake

History

Updated by Kiall Mac Innes almost 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r4325.

Updated by Kiall Mac Innes almost 3 years ago

  • Assignee changed from Jeremy Bush to Kiall Mac Innes
  • Resolution set to fixed

This is already in 2.4 DB so no need to merge.

Also available in: Atom PDF