1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Enabled more tests of STR_TO_DATE()

Fixed that datetime gives warning for zero dates in traditional mode
This commit is contained in:
monty@mysql.com
2005-03-30 23:41:42 +03:00
parent fac67f091c
commit b43b7dc128
4 changed files with 40 additions and 45 deletions

View File

@@ -234,7 +234,7 @@ struct sql_ex_info
/* these are codes, not offsets; not more than 256 values (1 byte). */
#define Q_FLAGS2_CODE 0
#define Q_SQL_MODE_CODE 1
#ifdef TO_BE_DELETED
#ifndef TO_BE_DELETED
/*
Q_CATALOG_CODE is catalog with end zero stored; it is used only by MySQL
5.0.x where 0<=x<=3.