[ Segmentation fault ] Using SQL\Query->toString__FOR_DEBUGGING_ONLY()
causes a segmentation fault when a query is also running
#8678
Labels
Describe the bug
A segmentation fault occurs when running when asking for the string repr of a
SQL\Query
while the connection is busy.Standalone code, or other way to reproduce the problem
Steps to reproduce the behavior:
Have a SQL server running.
I used
10.4.11-MariaDB-1:10.4.11+maria~bionic-log
.Run the example code above.
Read stacktrace from /tmp/stacktrace.xxxxx.log
Expected behavior
Code completes silently.
Screenshots
NONE
Desktop (please complete the following information):
Additional context
Stacktrace
The text was updated successfully, but these errors were encountered: