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

Ticket #5189 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Firebird BLOB limit set incorrectly

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 blob limit
Cc:

Description

There's a minor bug in the Firebird adapter that causes the limit (max field length) to be set incorrectly in the Column class for FB columns with type BLOB.

The attached patch addresses the bug and includes a new Firebird-specific unit test.

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

Attachments

fb-bloblimit-r4366.diff (1.8 kB) - added by Ken Kunz <kennethkunz@gmail.com> on 05/26/06 06:10:43.
patch file based on rev. 4366
fb-bloblimit-r4379.diff (1.9 kB) - added by Ken Kunz <kennethkunz@gmail.com> on 05/29/06 04:11:36.
Oops... error in original patch file... please use new one instead (based on rev. 4379).

Change History

05/26/06 06:10:43 changed by Ken Kunz <kennethkunz@gmail.com>

  • attachment fb-bloblimit-r4366.diff added.

patch file based on rev. 4366

05/29/06 04:11:36 changed by Ken Kunz <kennethkunz@gmail.com>

  • attachment fb-bloblimit-r4379.diff added.

Oops... error in original patch file... please use new one instead (based on rev. 4379).

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]