Closed bbkr closed 5 years ago
To reproduce:
CREATE TABLE foo ( bar timestamp NULL default NULL ) engine=InnoDB; INSERT INTO foo (bar) VALUES (NULL);
$mysql.query("SELECT bar FROM foo").arrays;
Result:
Invalid DateTime string ''; use an ISO 8601 timestamp (yyyy-mm-ddThh:mm:ssZ or yyyy-mm-ddThh:mm:ss+01:00) instead
Issue where execute was fixed: https://github.com/CurtTilmes/perl6-dbmysql/issues/2
Got it -- can't check just the data pointer itself, have to check the extra 'is_null' pointer too.
To reproduce:
Result:
Issue where execute was fixed: https://github.com/CurtTilmes/perl6-dbmysql/issues/2