Page 1 of 1

The following code segment was a bug in MySQL. Thread 1: if (thd->proc_info) { fputs(thd->proc_info, ..); } Thread 2: th

Posted: Fri May 20, 2022 3:23 pm
by answerhappygod
The Following Code Segment Was A Bug In Mysql Thread 1 If Thd Proc Info Fputs Thd Proc Info Thread 2 Th 1
The Following Code Segment Was A Bug In Mysql Thread 1 If Thd Proc Info Fputs Thd Proc Info Thread 2 Th 1 (23.56 KiB) Viewed 26 times
a. Explain the problem with the code?
b. Write code to fix the problem.
The following code segment was a bug in MySQL. Thread 1: if (thd->proc_info) { fputs(thd->proc_info, ..); } Thread 2: thd->proc_info = NULL;