MT::Upgrade::SQL
This callback is invoked for each SQL statement that is executed against the database as part of the upgrade process.
Input Parameters
- $cb - a reference to the current
MT::Callbackobject handling this event. - $app - a reference to the
MT::App::Upgradeobject processing this request. - $sql - the SQL about to be invoked by Movable Type.
Return Value
None.
Example Handler
sub handler {
my ($cb,$app,$sql) = @_;
# do something
}
- Previous: Upgrade Callbacks
- Next: XMLRPC/Atom Callbacks
This page was last updated on 2008-10-01, 16:59. [Edit]

Leave a note
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.