# File test.rb, line 954
  def test_fetch_time()
    if @m.server_version >= 40100 then
      @m.query("create temporary table t (i time)")
      @m.query("insert into t values ('-838:59:59'),(0),('838:59:59')")
      @s.prepare("select i from t")
      @s.execute
      assert_equal([Mysql::Time.new(0,0,0,838,59,59,true)], @s.fetch)
      assert_equal([Mysql::Time.new(0,0,0,0,0,0,false)], @s.fetch)
      assert_equal([Mysql::Time.new(0,0,0,838,59,59,false)], @s.fetch)
    end
  end