| 454 | } |
| 455 | |
| 456 | static bool remove_udf_in_table(const LEX_CSTRING &exact_name, TABLE *table) |
| 457 | { |
| 458 | if (find_udf_in_table(exact_name, table)) |
| 459 | { |
| 460 | int error; |
| 461 | if ((error= table->file->ha_delete_row(table->record[0]))) |
| 462 | { |
| 463 | table->file->print_error(error, MYF(0)); |
| 464 | return TRUE; |
| 465 | } |
| 466 | } |
| 467 | return FALSE; |
| 468 | } |
| 469 | |
| 470 | |
| 471 | /* |
no test coverage detected