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::Callback object handling this event.
  • $app - a reference to the MT::App::Upgrade object 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
}
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.