# File test.rb, line 548
  def test_bind_result_mysqltime()
    if @m.server_version >= 40100 then
      @m.query("create temporary table t (i int, c char(10), d double, t datetime)")
      @m.query("insert into t values (123, '9abcdefg', 1.2345, 20050802235011)")
      @s.prepare("select * from t")
      @s.bind_result(Mysql::Time, Mysql::Time, Mysql::Time, Mysql::Time)
      @s.execute
      a = @s.fetch
      if Mysql.client_version < 50000 then
        assert_equal([Mysql::Time.new, Mysql::Time.new, Mysql::Time.new, Mysql::Time.new(2005,8,2,23,50,11)], a)
      else
        assert_equal([Mysql::Time.new(2000,1,23), Mysql::Time.new, Mysql::Time.new, Mysql::Time.new(2005,8,2,23,50,11)], a)
      end
    end
  end