Fixed all tests for MySQL 5.7

Most of the failing tests were failing due to changes in MySQL 5.7
default sql_mode and because of invalid timestamps ('0000-00-00')
This commit is contained in:
Carlos Salguero
2017-05-03 15:48:11 -03:00
parent e6e54839bf
commit f6d2e89027
10 changed files with 747 additions and 142 deletions

View File

@@ -3,7 +3,7 @@ CREATE TABLE `messages` (
`MID` int(20) NOT NULL default '0',
`TID` bigint(20) NOT NULL default '0',
`AUTHOR` varchar(32) NOT NULL default '',
`DATE` datetime NOT NULL default '0000-00-00 00:00:00',
`DATE` datetime NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`INTERNAL` char(1) NOT NULL default '0',
`ISOPER` char(1) NOT NULL default '0',
`HEADERS` text NOT NULL,