1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Fix for CONC-168: string conversion of timestamps is broken

When converting datetime with microseconds to string (binary protocol) number of decimal
places was ignored. Thanks to Patrick Huesmann for providing a fix.
This commit is contained in:
Georg Richter
2016-03-24 07:12:54 +01:00
parent 68caac848a
commit b6d3af1bfc
3 changed files with 60 additions and 10 deletions

View File

@@ -231,8 +231,6 @@ int mthd_stmt_read_all_rows(MYSQL_STMT *stmt)
}
}
}
current->length= packet_len;
result->rows++;
} else /* end of stream */