From a593a0a739e8846de7ea641a144a92f8753c3984 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 30 Mar 2005 23:41:42 +0300 Subject: Enabled more tests of STR_TO_DATE() Fixed that datetime gives warning for zero dates in traditional mode mysql-test/r/strict.result: Enabled more tests of STR_TO_DATE() mysql-test/t/strict.test: Enabled more tests of STR_TO_DATE() sql/field.cc: Fixed that datetime gives warning for zero dates in traditional mode sql/log_event.h: Fix wrong ifdef from last push --- sql/log_event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/log_event.h') diff --git a/sql/log_event.h b/sql/log_event.h index 1f82f40ed11..2985fcabb50 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -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. -- cgit v1.2.1