Closed Bug 803295 Opened 12 years ago Closed 12 years ago

Bump minimum version of DBI

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

We currently require DBI 1.41. But:

1.43:

  Fixed last_insert_id(...)

1.44:

  Changed execute_array() to return "0E0" for 0 as per the docs.
  Changed execute_for_fetch() definition, and default implementation,
    to return "0E0" for 0 like execute() and execute_array().

1.45:

  Fixed "Free to wrong pool"/"Attempt to free unreferenced scalar" in FETCH.

1.50:

  Fixed handle magic order to keep DBD::Oracle happy.

1.52:

  Fixed for perl 5.9.4. Users of Perl >= 5.9.4 will require DBI >= 1.52.

1.54:

  Fixed to work for bleadperl (r29544).
    Users of Perl >= 5.9.5 will require DBI >= 1.54.


So DBD::Oracle requires DBI 1.50 to work, and Perl 5.9.5 and newer require DBI 1.54.

For trunk, we must then require DBI 1.54, as we require Perl 5.10.1 or newer. For 4.4, it would be enough to require 1.50 only (for DBD::Oracle), but more and more installations run Perl 5.10.1 or newer. 1.54 has been released in February 2007, and so I see no reason to not require it for 4.4 too.
Attached patch patch, v1Splinter Review
Assignee: installation → LpSolit
Status: NEW → ASSIGNED
Attachment #672974 - Flags: review?(glob)
Comment on attachment 672974 [details] [diff] [review]
patch, v1

looks sane, r=glob
Attachment #672974 - Flags: review?(glob) → review+
Flags: approval4.4+
Flags: approval+
Keywords: relnote
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Install/Requirements.pm
Committed revision 8443.

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.4/
modified Bugzilla/Install/Requirements.pm
Committed revision 8430.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Added to relnotes for 4.4.
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: