Open
Description
Consider the following table:
CREATE TABLE Book
id int unsigned NOT NULL AUTO_INCREMENT,
title varchar(255) DEFAULT NULL,
author varchar(255) DEFAULT NULL,
when_added timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
Now do:
SELECT * FROM Book where when_added >= '2022-09-30 00:00:00';
The results in dbout will be:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/home/foo/bar/' at line 1
rather than the expected result.