diff options
author | heikki@hundin.mysql.fi <> | 2003-04-16 16:45:01 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2003-04-16 16:45:01 +0300 |
commit | f841b4ae234359210d240879236653db2dec7281 (patch) | |
tree | 7fff68a7504903b0da22aa86bbf09e69351a2184 /innobase/ut | |
parent | cde0099e23654a34e35c0227141f91c7c0751842 (diff) | |
download | mariadb-git-f841b4ae234359210d240879236653db2dec7281.tar.gz |
Many files:
Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
Diffstat (limited to 'innobase/ut')
-rw-r--r-- | innobase/ut/ut0ut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/ut/ut0ut.c b/innobase/ut/ut0ut.c index bb5eb662cd7..95037ec3570 100644 --- a/innobase/ut/ut0ut.c +++ b/innobase/ut/ut0ut.c @@ -204,7 +204,7 @@ ut_get_year_month_day( cal_tm_ptr = localtime(&tm); - *year = (ulint)cal_tm_ptr->tm_year; + *year = (ulint)cal_tm_ptr->tm_year + 1900; *month = (ulint)cal_tm_ptr->tm_mon + 1; *day = (ulint)cal_tm_ptr->tm_mday; #endif |