mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
@ -205,7 +205,7 @@ mysql_real_connect(MYSQL *mysql,const char *host, const char *user,
|
||||
}
|
||||
}
|
||||
|
||||
DBUG_PRINT("exit",("Mysql handler: 0x%lx", (long) mysql));
|
||||
DBUG_PRINT("exit",("Mysql handler: %p", mysql));
|
||||
DBUG_RETURN(mysql);
|
||||
|
||||
error:
|
||||
|
Reference in New Issue
Block a user