Inform about disabled event_scheduler (http://forum.zdrojak.cz/?topic=637)

This commit is contained in:
Jakub Vrana 2012-05-13 17:40:36 -07:00
parent 4f3fddc870
commit 06595f90e4
2 changed files with 5 additions and 0 deletions

View file

@ -182,6 +182,10 @@ if ($adminer->homepage()) {
echo "<td>$row[Ends]";
}
echo "</table>\n";
$event_scheduler = $connection->result("SELECT @@event_scheduler");
if ($event_scheduler && $event_scheduler != "ON") {
echo "<p class='error'><code class='jush-sqlset'>event_scheduler</code>: " . h($event_scheduler) . "\n";
}
}
echo '<p><a href="' . h(ME) . 'event=">' . lang('Create event') . "</a>\n";
}

View file

@ -3,6 +3,7 @@ Print current time next to executed SQL queries
Highlight code in SQL command by CodeMirror
Link to descending order
Link to original table in EXPLAIN of SELECT * FROM table t
MySQL: inform about disabled event_scheduler
PostgreSQL: approximate row count in table overview
Oracle: schema, processlist, table overview numbers
Replace JSMin by better JavaScript minifier