diff options
Diffstat (limited to 'sql/tztime.h')
-rw-r--r-- | sql/tztime.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/sql/tztime.h b/sql/tztime.h index daedbb14fca..e673ca901d6 100644 --- a/sql/tztime.h +++ b/sql/tztime.h @@ -1,6 +1,7 @@ -/* - Copyright (c) 2004-2007 MySQL AB, 2008, 2009 Sun Microsystems, Inc. - Use is subject to license terms. +#ifndef TZTIME_INCLUDED +#define TZTIME_INCLUDED + +/* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -13,16 +14,24 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class interface */ #endif +#include "my_time.h" /* my_time_t */ +#include "mysql_time.h" /* MYSQL_TIME */ +#include "sql_list.h" /* Sql_alloc */ +#include "sql_string.h" /* String */ + +class THD; + #if !defined(TESTTIME) && !defined(TZINFO2SQL) +class THD; + /** This class represents abstract time zone and provides basic interface for MYSQL_TIME <-> my_time_t conversion. @@ -82,3 +91,4 @@ static const int MY_TZ_TABLES_COUNT= 4; #endif /* !defined(TESTTIME) && !defined(TZINFO2SQL) */ +#endif /* TZTIME_INCLUDED */ |