Toad Beta 7 (7.0.0.2040), as well as all previous versions of Toad for MySQL, crash with a Java STACKTRACE when attempting to display data with microsecond (millisecond) precision.Versions of MySQL 5.6 and beyond support the concept of microseconds in the DATETIME and TIMESTAMP and all other time related function such as NOW(), etc. Execute "SELECT NOW(6)" first in the mysql client and then in Toad for MySQL: In the mysql client for MySQL 5.6.12 for Linux (x86_64): mysql SELECT NOW(6); +----------------------------+ | NOW(6) | +----------------------------+ | 2013-11-11 15:24:12.519015 | +----------------------------+ 1 row in set (0.00 sec) Let's try this in Toad for MySQL 7: SELECT NOW(6); ...BAM!! System.FormatException Input string was not in a correct format. Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at MySql.Data.Types.MySqlDateTime.ParseMySql(String s) at MySql.Data.Types.MySqlDateTime.MySql.Data.Types.IMySqlValue.ReadValue(MySqlPacket packet, Int64 length, Boolean nullVal) at MySql.Data.MySqlClient.NativeDriver.ReadColumnValue(Int32 index, MySqlField field, IMySqlValue valObject) at MySql.Data.MySqlClient.ResultSet.ReadColumnData(Boolean outputParms) at MySql.Data.MySqlClient.ResultSet.NextRow(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlDataReader.Read() at Quest.Toad.Db.ToadDataAdapter.InternalReadBackground() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Toad Beta (7.0.0.2040) installed on a clean system, no other instances of Toad present. Windows 7 Professional 64-Bit , SP1; Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53 GHz ; 4.00 GB RAM
↧