mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-13844 : Fix Windows warnings. Fix DBUG_PRINT.
- Fix win64 pointer truncation warnings (usually coming from misusing 0x%lx and long cast in DBUG) - Also fix printf-format warnings Make the above mentioned warnings fatal. - fix pthread_join on Windows to set return value.
This commit is contained in:
@ -911,9 +911,9 @@ Event_queue_element::compute_next_execution_time()
|
||||
{
|
||||
my_time_t time_now;
|
||||
DBUG_ENTER("Event_queue_element::compute_next_execution_time");
|
||||
DBUG_PRINT("enter", ("starts: %lu ends: %lu last_executed: %lu this: 0x%lx",
|
||||
DBUG_PRINT("enter", ("starts: %lu ends: %lu last_executed: %lu this: %p",
|
||||
(long) starts, (long) ends, (long) last_executed,
|
||||
(long) this));
|
||||
this));
|
||||
|
||||
if (status != Event_parse_data::ENABLED)
|
||||
{
|
||||
|
Reference in New Issue
Block a user