mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
Fix the Windows build
On Windows, a mismatch between TIMETPF ("%ld") and time_t would be reported. Use "%ld" and long, like the code used to be.
This commit is contained in:
parent
56de291978
commit
64d26ec52a
1 changed files with 2 additions and 2 deletions
|
@ -147,10 +147,10 @@ btr_scrub_lock_dict_func(ulint space_id, bool lock_to_close_table,
|
|||
|
||||
if (now >= last + 30) {
|
||||
fprintf(stderr,
|
||||
"WARNING: %s:%u waited " TIMETPF " seconds for"
|
||||
"WARNING: %s:%u waited %ld seconds for"
|
||||
" dict_sys lock, space: " ULINTPF
|
||||
" lock_to_close_table: %d\n",
|
||||
file, line, now - start, space_id,
|
||||
file, line, long(now - start), space_id,
|
||||
lock_to_close_table);
|
||||
|
||||
last = now;
|
||||
|
|
Loading…
Reference in a new issue