Ticket moved from /p/jtds/bugs/648/