• P
    Silence warning from MySQL::Error object in test · 150f4099
    Prem Sichanugrist 提交于
    When running Active Record MySQL test, this warning is printed in the
    console:
    
        warning: instance variable errno not initialized
    
    It turns out that this is a warning from `mysql` gem in MySQL::Error
    object. However, since the `mysql` gem is no longer maintained, and
    there won't be a newer version, it make sense for us to just silence
    this warning to make the output cleaner.
    150f4099
disconnected_test.rb 730 字节