summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorserg@sergbook.mysql.com <>2003-09-16 15:23:38 +0200
committerserg@sergbook.mysql.com <>2003-09-16 15:23:38 +0200
commit60370dd01c677f300c4b2d4219f48a3c1984cf6f (patch)
tree5ab8c199a76ef3c34831cb2a2285497ae48f71d0 /sql
parent10c962bd412304d3672c84c7a53461a847b813f0 (diff)
downloadmariadb-git-60370dd01c677f300c4b2d4219f48a3c1984cf6f.tar.gz
minor cleanups
Diffstat (limited to 'sql')
-rw-r--r--sql/item_timefunc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc
index 31ce2ad9cdc..9a36f8a60a6 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -57,13 +57,13 @@ static String day_names[] =
String("Sunday", &my_charset_latin1)
};
-enum date_time_format_types
-{
+enum date_time_format_types
+{
TIME_ONLY= 0, TIME_MICROSECOND,
DATE_ONLY, DATE_TIME, DATE_TIME_MICROSECOND
};
-typedef struct date_time_format
+struct date_time_format
{
const char* format_str;
uint length;