The am_drop purpose function

The database server calls am_drop for a DROP TABLE or DROP DATABASE statement.

Syntax

mi_integer am_drop(MI_AM_TABLE_DESC *tableDesc)
tableDesc
Points to the table descriptor.

Usage

Even if the access method provides no am_drop purpose function, the database server automatically removes the dropped object from the system catalog tables. The database server no longer recognizes the name of the dropped object.

Return values

MI_OK
Indicates success.
MI_ERROR
Indicates failure.