Commit 4749f34b authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix comp_errr crash ( fprintf crashes wheb uninitialized string is passed)

parent f610296d
......@@ -870,6 +870,7 @@ static struct errors *generate_empty_message(uint d_code)
if (my_init_dynamic_array(&new_error->msg, sizeof(struct message), 0, 1))
return(0); /* OOM: Fatal error */
new_error->er_name= NULL;
new_error->d_code= d_code;
new_error->sql_code1= empty_string;
new_error->sql_code2= empty_string;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment