mysql2 0.3.12b1 → 0.3.12b2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mysql2 (0.3.12b1)
4
+ mysql2 (0.3.12b2)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -801,7 +801,7 @@ static VALUE rb_mysql_client_select_db(VALUE self, VALUE db)
801
801
  args.db = StringValuePtr(db);
802
802
 
803
803
  if (rb_thread_blocking_region(nogvl_select_db, &args, RUBY_UBF_IO, 0) == Qfalse)
804
- rb_raise_mysql2_error(wrapper);
804
+ rb_raise_mysql2_error(wrapper);
805
805
 
806
806
  return db;
807
807
  }
@@ -858,14 +858,14 @@ static VALUE rb_mysql_client_store_result(VALUE self)
858
858
  #ifdef HAVE_RUBY_ENCODING_H
859
859
  mysql2_result_wrapper * result_wrapper;
860
860
  #endif
861
-
862
-
861
+
862
+
863
863
  GET_CLIENT(self);
864
864
  // MYSQL_RES* res = mysql_store_result(wrapper->client);
865
865
  // if (res == NULL)
866
866
  // mysql_raise(wrapper->client);
867
867
  // return mysqlres2obj(res);
868
-
868
+
869
869
  result = (MYSQL_RES *)rb_thread_blocking_region(nogvl_store_result, wrapper, RUBY_UBF_IO, 0);
870
870
 
871
871
  if (result == NULL) {
@@ -885,7 +885,7 @@ static VALUE rb_mysql_client_store_result(VALUE self)
885
885
  result_wrapper->encoding = wrapper->encoding;
886
886
  #endif
887
887
  return resultObj;
888
-
888
+
889
889
  }
890
890
 
891
891
  #ifdef HAVE_RUBY_ENCODING_H
@@ -1021,7 +1021,7 @@ void init_mysql2_client() {
1021
1021
  rb_define_method(cMysql2Client, "thread_id", rb_mysql_client_thread_id, 0);
1022
1022
  rb_define_method(cMysql2Client, "ping", rb_mysql_client_ping, 0);
1023
1023
  rb_define_method(cMysql2Client, "select_db", rb_mysql_client_select_db, 1);
1024
- rb_define_method(cMysql2Client, "more_results", rb_mysql_client_more_results, 0);
1024
+ rb_define_method(cMysql2Client, "more_results?", rb_mysql_client_more_results, 0);
1025
1025
  rb_define_method(cMysql2Client, "next_result", rb_mysql_client_next_result, 0);
1026
1026
  rb_define_method(cMysql2Client, "store_result", rb_mysql_client_store_result, 0);
1027
1027
  rb_define_method(cMysql2Client, "options", rb_mysql_client_options, 2);
@@ -1,3 +1,3 @@
1
1
  module Mysql2
2
- VERSION = "0.3.12b1"
2
+ VERSION = "0.3.12b2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.12b1
4
+ version: 0.3.12b2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-08 00:00:00.000000000 Z
12
+ date: 2012-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine