]> git.pld-linux.org Git - packages/mysql-ruby.git/blob - ruby-2.4.patch
- Fixnum/Bignum have been unified into Integer in ruby 2.4
[packages/mysql-ruby.git] / ruby-2.4.patch
1 --- mysql-ruby-2.8.2/mysql.c~   2018-06-10 07:20:17.000000000 +0900
2 +++ mysql-ruby-2.8.2/mysql.c    2018-06-10 07:21:50.252989913 +0900
3 @@ -1343,7 +1343,7 @@
4         }
5         else if (argv[i] == rb_cString)
6             s->result.bind[i].buffer_type = MYSQL_TYPE_STRING;
7 -       else if (argv[i] == rb_cNumeric || argv[i] == rb_cInteger || argv[i] == rb_cFixnum)
8 +       else if (argv[i] == rb_cNumeric || argv[i] == rb_cInteger)
9             s->result.bind[i].buffer_type = MYSQL_TYPE_LONGLONG;
10         else if (argv[i] == rb_cFloat)
11             s->result.bind[i].buffer_type = MYSQL_TYPE_DOUBLE;
This page took 0.082658 seconds and 3 git commands to generate.