プロジェクト

全般

プロフィール

Vote #69439

完了

bigdecimal-segfault-fix.rb must be removed for Oracle

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Database_21
対象バージョン:
開始日:
2011/03/10
期日:
進捗率:

0%

予定工数:
category_id:
21
version_id:
40
issue_org_id:
7826
author_id:
29900
assigned_to_id:
1
comments:
8
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

config/initializers/bigdecimal-segfault-fix.rb was added to take care of the DoS bug in Ruby 1.8.7-p160 and all prior versions. As I am trying to get Redmine working with Oracle 11 I found that this file throws an error when I do the db migrate. Since I am using Ruby 1.8.7-p174 I simply removed bigdecimal-segfault-fix.rb.

Can there be some kind of check put in the file or installation to first check the Ruby version before attempting to apply the bigdecimal fix?


journals

Can we just remove this file for current trunk, as it only supports Redmine 1.8.7, from which to my understanding, after a certain patch level, no long is affected by this problem.

related: http://www.redmine.org/boards/2/topics/22341?r=28565
--------------------------------------------------------------------------------
Why not for 1.4.0 which will no more support Ruby 1.8.6 anymore?

--------------------------------------------------------------------------------
As there are 1.8.6 and 1.8.7 ruby versions that fix this issue, we could remove this patch indeed.
BTW, Oracle is not officialy supported as I do not run tests with this DBMS. How does Redmine behave with it?
--------------------------------------------------------------------------------
I try to relate every issue created about Oracle to #944 to keep a track of what could be done to support it; those issues are real even if closed as Invalid.

According to forums, people generally succeed to install Redmine with Oracle but this requires a few monkey patches (but not a lot); I specifically remember of issues related to 1 or 2 tables name length too long for an Oracle DB.

Adding support to Oracle (and why not, even if less often evoked, MSSQL) should not be that hard and would help integration/promotion of Redmine in companies tied by global contracts with Oracle (or Microsoft).

Moreover, I guess that setting up a CI with Oracle XE or SQL Server Express is possible.

--------------------------------------------------------------------------------
Fix removed in r8788.

How Oracle and MSSQL are supported in recent versions of Rails? Because they were in the early versions then they were not.
--------------------------------------------------------------------------------
From what I've seen when I had a quick look 2 weeks ago, both ActiveRecord adapers are on GitHub and updated frequently and recently; I saw that SQL Server adapter was even already compatible with Rails 3.2.

I would say that supporting both of them is worth it, especially Oracle since it seems to be the most frequently asked for, but that's only my POV.
--------------------------------------------------------------------------------
It would be great some attempts to make this working in Oracle without tweaks. I have 1.2.0 working with Oracle + JRuby and I fear to upgrade to latest because of possible new tweaks to be made.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,944,Oracle Support in Redmine
relates,Closed,4856,roadmap display crashes when a ticket has 'Estimated Time' too big

Admin Redmine さんが4年以上前に更新

  • カテゴリDatabase_21 にセット
  • 対象バージョン1.4.0_40 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0