title: Unable to output MySQL tables which involve dates in Sequel
body: <p>I'm trying to use Sequel to access a MySQL database in Ruby. When I try accessing a table which involves a date column, I am presented with an error. When I access a table without, it functions fine. What is wrong?</p>
  
  <h3>Example Code:</h3>
  
  <pre><code>require 'rubygems'
  require 'sequel'
  
  DB = Sequel.connect(:adapter=&gt;'mysql', :host=&gt;'localhost', :database=&gt;'db', :user=&gt;'user', :password=&gt;'password')
  
  event = DB[:table]
  
  puts event.all
  </code></pre>
  
  <h3>Error:</h3>
  
  <pre><code>/usr/lib/ruby/1.8/date.rb:956:in `new_by_frags': ArgumentError: invalid date (Sequel::InvalidValue)
  </code></pre>
  
  <p>The error is not shown when a table which does not feature a date is accessed. This is running on Debian.</p>