Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #5194 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[PATCH] Firebird BOOLEAN conversion fix

Reported by: Ken Kunz <kennethkunz@gmail.com> Assigned to: David
Priority: normal Milestone: 1.2
Component: ActiveRecord Version: 0.14.2
Severity: normal Keywords: firebird boolean cast
Cc:

Description

There's a defect in the Firebird adapter such that BOOLEAN values are not properly type-cast. The AR test BasicsTest#test_boolean_cast_from_string currently fails.

The attached patch addresses this defect.

This patch does not strictly depend on #5188, but it is recommended that #5188 be applied first.

Attachments

fb-boolcast-r4366.diff (0.8 kB) - added by Ken Kunz <kennethkunz@gmail.com> on 05/26/06 14:50:27.
patch file based on rev. 4366

Change History

05/26/06 14:50:27 changed by Ken Kunz <kennethkunz@gmail.com>

  • attachment fb-boolcast-r4366.diff added.

patch file based on rev. 4366

06/03/06 21:57:05 changed by david

  • status changed from new to closed.
  • resolution set to fixed.

(In [4424]) Fixed issues with BLOB limits, charsets, and booleans for Firebird (closes #5194, #5191, #5189) [kennethkunz@gmail.com]