fixed issue #130 , support mysql5.6 time2/timestamp2/datetime2 javaType

This commit is contained in:
agapple
2015-11-13 14:16:12 +08:00
parent 5a34195201
commit 44f2b74862
@@ -163,10 +163,13 @@ public final class RowsLogBuffer {
case LogEvent.MYSQL_TYPE_TIMESTAMP:
case LogEvent.MYSQL_TYPE_DATETIME:
case LogEvent.MYSQL_TYPE_TIMESTAMP2:
case LogEvent.MYSQL_TYPE_DATETIME2:
javaType = Types.TIMESTAMP;
break;
case LogEvent.MYSQL_TYPE_TIME:
case LogEvent.MYSQL_TYPE_TIME2:
javaType = Types.TIME;
break;