berlindb / core

All of the required core code
MIT License
253 stars 27 forks source link

Updates delete_metadata_by_mid to use table name, not the parsed meta table name. #51 #52

Closed alexstandiford closed 4 years ago

alexstandiford commented 4 years ago

This change resolves this problem because delete_metadata_by_mid uses _get_meta_table to retrieve the meta table from the database. This function automatically appends meta to the table name, and does not need a prefix.

Due to this, there is no need to do anything but directly pass item_name to delete_metadata_by_mid.

Resolves #51