Throw away the current profile, because it's useless or unwanted or corrupted. */
| 359 | or corrupted. |
| 360 | */ |
| 361 | void PROFILING::discard_current_query() |
| 362 | { |
| 363 | DBUG_ENTER("PROFILING::discard_current_profile"); |
| 364 | |
| 365 | delete current; |
| 366 | current= NULL; |
| 367 | |
| 368 | DBUG_VOID_RETURN; |
| 369 | } |
| 370 | |
| 371 | /** |
| 372 | Try to save the current profile entry, clean up the data if it shouldn't be |
no outgoing calls
no test coverage detected