Commits

Genki Sugawara  committed 7ef2dd5

position= -> deprecated

  • Participants
  • Parent commits 58950a0

Comments (0)

Files changed (1)

File ext/ruby_binlog.cpp

     return retval;
   }
 
+  // XXX: deprecated
   static VALUE set_position2(VALUE self, VALUE position) {
     Client *p;
     VALUE retval = Qnil;
     int result;
 
+    rb_warn("Binlog::Clien#position= is deprecated, use set_position instead.");
+
     Data_Get_Struct(self, Client, p);
 #ifndef RUBY_UBF_IO
     TRAP_BEG;