@@ -413,7 +413,7 @@ static int opt_connect_attr_add_i(VALUE key, VALUE value, VALUE arg)
413
413
}
414
414
#endif
415
415
416
- static VALUE rb_connect (VALUE self , VALUE user , VALUE pass , VALUE host , VALUE port , VALUE database , VALUE socket , VALUE flags , VALUE conn_attrs ) {
416
+ static VALUE rb_mysql_connect (VALUE self , VALUE user , VALUE pass , VALUE host , VALUE port , VALUE database , VALUE socket , VALUE flags , VALUE conn_attrs ) {
417
417
struct nogvl_connect_args args ;
418
418
time_t start_time , end_time , elapsed_time , connect_timeout ;
419
419
VALUE rv ;
@@ -754,7 +754,7 @@ static VALUE rb_mysql_client_abandon_results(VALUE self) {
754
754
* Query the database with +sql+, with optional +options+. For the possible
755
755
* options, see default_query_options on the Mysql2::Client class.
756
756
*/
757
- static VALUE rb_query (VALUE self , VALUE sql , VALUE current ) {
757
+ static VALUE rb_mysql_query (VALUE self , VALUE sql , VALUE current ) {
758
758
#ifndef _WIN32
759
759
struct async_query_args async_args ;
760
760
#endif
@@ -1421,8 +1421,8 @@ void init_mysql2_client() {
1421
1421
rb_define_private_method (cMysql2Client , "ssl_mode=" , rb_set_ssl_mode_option , 1 );
1422
1422
rb_define_private_method (cMysql2Client , "enable_cleartext_plugin=" , set_enable_cleartext_plugin , 1 );
1423
1423
rb_define_private_method (cMysql2Client , "initialize_ext" , initialize_ext , 0 );
1424
- rb_define_private_method (cMysql2Client , "connect" , rb_connect , 8 );
1425
- rb_define_private_method (cMysql2Client , "_query" , rb_query , 2 );
1424
+ rb_define_private_method (cMysql2Client , "connect" , rb_mysql_connect , 8 );
1425
+ rb_define_private_method (cMysql2Client , "_query" , rb_mysql_query , 2 );
1426
1426
1427
1427
sym_id = ID2SYM (rb_intern ("id" ));
1428
1428
sym_version = ID2SYM (rb_intern ("version" ));
0 commit comments