Skip to content

Remove 1.8.7,ree compatibility shim - #908

Merged
sodabrew merged 3 commits into
brianmario:masterfrom
tamird:remove-more-ree
Nov 26, 2017
Merged

Remove 1.8.7,ree compatibility shim#908
sodabrew merged 3 commits into
brianmario:masterfrom
tamird:remove-more-ree

Conversation

@tamird

@tamird tamird commented Nov 25, 2017

Copy link
Copy Markdown
Contributor

@sodabrew looks like I missed one (that was added after the original PR opened).

Comment thread ext/mysql2/statement.c
* only -0x8000000000000000 is safe if `len == 8 && nlz_bits == 0`
*/
!rb_absint_singlebit_p(bignum)
#elif defined(HAVE_RB_BIG_CMP)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This case should still be needed for Ruby 1.9 and 2.0.

@tamird tamird Nov 26, 2017

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I misread that elif as ifdef. Derp.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, this is fixed up and green now.

@sodabrew
sodabrew merged commit 105c9f0 into brianmario:master Nov 26, 2017
@sodabrew sodabrew added this to the 0.5.0 milestone Nov 26, 2017
@tamird
tamird deleted the remove-more-ree branch November 26, 2017 04:29
jeremy added a commit to jeremy/mysql2 that referenced this pull request Nov 29, 2017
* master: (56 commits)
  Remove leftover ifdef HAVE_RB_BIG_CMP
  Minor whitespace/variable rewording
  Prefix the methods in client.c with rb_mysql_
  Prefix the methods in statement.c with rb_mysql_
  Remove more 1.8.7, REE compatibility shims (brianmario#908)
  Style/SignalException
  Style/PercentLiteralDelimiters
  Style/NumericPredicate
  Style/MutableConstant
  Style/IfInsideElse
  Style/HashSyntax
  Style/GuardClause
  Style/Encoding
  Style/BlockDelimiters
  Style/Alias
  Performance/TimesMap
  Performance/RedundantMerge
  Performance/HashEachMethods
  Naming/HeredocDelimiterCase
  Lint/UnifiedInteger
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants