Skip to content

Commit 607be94

Browse files
committed
[CONJ-659] correction of ATOI parsing to permit resultset.getDate() on
String data with timestamps format (cherry picked from commit 0671c92)
1 parent be4ad72 commit 607be94

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/org/mariadb/jdbc/internal/com/read/resultset/rowprotocol/TextRowProtocol.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,6 @@ public Date getInternalDate(ColumnInformation columnInfo, Calendar cal, TimeZone
460460

461461
switch (columnInfo.getColumnType()) {
462462
case DATE:
463-
case VARCHAR:
464-
case VARSTRING:
465-
case STRING:
466-
467463
int[] datePart = new int[]{0,0,0};
468464
int partIdx = 0;
469465
for (int begin = pos; begin < pos + length; begin++) {

0 commit comments

Comments
 (0)