You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The getter for MySQLData.time assumes the data is in .binary format. However, MariaDB 10.5 returns data from timestamp fields in .text format "2008-12-29 12:59:59", which leads to a fatal error unwrapping nil.
To Reproduce
Run a Docker container with mariadb:10.5 and these command-line arguments:
Describe the bug
The getter for MySQLData.time assumes the data is in .binary format. However, MariaDB 10.5 returns data from timestamp fields in .text format "2008-12-29 12:59:59", which leads to a fatal error unwrapping nil.
To Reproduce
Expected behavior
The current timestamp should be returned. Instead, there is a fatal error at MySQLData.swift:458.
Environment
framework: 4.55.0
toolbox: 18.3.3
OS version: macOS 12.2.1
Additional context
I think the fix is straightforward, and I hope to have a pull request to fix the problem soon.
The text was updated successfully, but these errors were encountered: