Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
68ad3413
Commit
68ad3413
authored
May 29, 2001
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge heikki@work.mysql.com:/home/my/mysql
into donna.mysql.fi:/home/heikki/mysqle
parents
acf598c5
96176f16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
innobase/configure.in
innobase/configure.in
+1
-0
innobase/ut/ut0ut.c
innobase/ut/ut0ut.c
+12
-6
No files found.
innobase/configure.in
View file @
68ad3413
...
@@ -38,6 +38,7 @@ AC_CHECK_HEADERS(aio.h sched.h)
...
@@ -38,6 +38,7 @@ AC_CHECK_HEADERS(aio.h sched.h)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_FUNCS(sched_yield)
AC_CHECK_FUNCS(sched_yield)
AC_CHECK_FUNCS(fdatasync)
AC_CHECK_FUNCS(fdatasync)
AC_CHECK_FUNCS(localtime_r)
#AC_C_INLINE Already checked in MySQL
#AC_C_INLINE Already checked in MySQL
AC_C_BIGENDIAN
AC_C_BIGENDIAN
...
...
innobase/ut/ut0ut.c
View file @
68ad3413
...
@@ -72,19 +72,25 @@ ut_print_timestamp(
...
@@ -72,19 +72,25 @@ ut_print_timestamp(
#else
#else
struct
tm
cal_tm
;
struct
tm
cal_tm
;
struct
tm
*
cal_tm_ptr
;
time_t
tm
;
time_t
tm
;
time
(
&
tm
);
time
(
&
tm
);
#ifdef HAVE_LOCALTIME_R
localtime_r
(
&
tm
,
&
cal_tm
);
localtime_r
(
&
tm
,
&
cal_tm
);
cal_tm_ptr
=
&
cal_tm
;
#else
cal_tm_ptr
=
localtime
(
&
tm
);
#endif
fprintf
(
file
,
"%02d%02d%02d %2d:%02d:%02d"
,
fprintf
(
file
,
"%02d%02d%02d %2d:%02d:%02d"
,
cal_tm
.
tm_year
%
100
,
cal_tm
_ptr
->
tm_year
%
100
,
cal_tm
.
tm_mon
+
1
,
cal_tm
_ptr
->
tm_mon
+
1
,
cal_tm
.
tm_mday
,
cal_tm
_ptr
->
tm_mday
,
cal_tm
.
tm_hour
,
cal_tm
_ptr
->
tm_hour
,
cal_tm
.
tm_min
,
cal_tm
_ptr
->
tm_min
,
cal_tm
.
tm_sec
);
cal_tm
_ptr
->
tm_sec
);
#endif
#endif
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment