- skip dbsv-update if triggers/sp are not installed (yet) - added safeguard against downgrading to old trigger/sp versions
19 lines
570 B
PHP
19 lines
570 B
PHP
<?php
|
|
/***************************************************************************
|
|
|
|
Unicode Reminder メモ
|
|
|
|
initialize trigger version function
|
|
|
|
***************************************************************************/
|
|
|
|
// We run this via maintain.php instead of dbsv-update.php because the
|
|
// latter one has no sufficient privileges yet for updating functions
|
|
// (should be changed / may have been changed when you are reading this.)
|
|
|
|
sql_dropFunction('dbsvTriggerVersion');
|
|
sql("
|
|
CREATE FUNCTION `dbsvTriggerVersion` () RETURNS INT
|
|
RETURN 114");
|
|
|
|
?>
|