Permalink
Browse files

Inform about disabled event_scheduler (http://forum.zdrojak.cz/?topic…

  • Loading branch information...
1 parent 4f3fddc commit 06595f90e4bb29ae4f7cbe0be1d1b486891d8aa4 @vrana vrana committed May 14, 2012
Showing with 5 additions and 0 deletions.
  1. +4 −0 adminer/db.inc.php
  2. +1 −0 changes.txt
View
@@ -182,6 +182,10 @@
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
@@ -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

0 comments on commit 06595f9

Please sign in to comment.