Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: sparklemotion/sqlite3-ruby
base: master
...
head fork: nobu/sqlite3-ruby
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Feb 25, 2014
@nobu nobu Remove unused code
Remove code used only if nails == 1.
a62af86
Showing with 2 additions and 9 deletions.
  1. +2 −9 ext/sqlite3/sqlite3.c
View
11 ext/sqlite3/sqlite3.c
@@ -14,17 +14,10 @@ int bignum_to_int64(VALUE value, sqlite3_int64 *result)
case -2: case +2:
return 0;
case +1:
- if (!nails) {
- if (*result < 0) return 0;
- }
+ if (*result < 0) return 0;
break;
case -1:
- if (!nails) {
- if (*result >= 0) return 0;
- }
- else {
- *result += INT64_MIN;
- }
+ if (*result >= 0) return 0;
break;
}
return 1;

No commit comments for this range

Something went wrong with that request. Please try again.