mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Protect DBUG_ENTER printout from NULL pointers
This commit is contained in:
parent
fcb305035b
commit
e03946d1e4
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ File my_create_with_symlink(const char *linkname, const char *filename,
|
|||
int create_link;
|
||||
char abs_linkname[FN_REFLEN];
|
||||
DBUG_ENTER("my_create_with_symlink");
|
||||
DBUG_PRINT("enter", ("linkname: %s filename: %s", linkname, filename));
|
||||
DBUG_PRINT("enter", ("linkname: %s filename: %s",
|
||||
linkname ? linkname : "(null)",
|
||||
filename ? filename : "(null)"));
|
||||
|
||||
if (my_disable_symlinks)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue