MCPcopy Create free account
hub / github.com/MariaDB/server / remove_udf_in_table

Function remove_udf_in_table

sql/sql_udf.cc:456–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456static 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/*

Callers 2

mysql_drop_functionFunction · 0.85

Calls 3

find_udf_in_tableFunction · 0.85
ha_delete_rowMethod · 0.80
print_errorMethod · 0.45

Tested by

no test coverage detected