1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 00:54:08 +02:00

MySQL: Speed up updating rows without numeric or UTF-8 primary key

This commit is contained in:
Jakub Vrana
2013-06-04 19:40:17 -07:00
parent 8e0ead4678
commit 7dd90f56f1
9 changed files with 12 additions and 29 deletions

View File

@@ -270,10 +270,6 @@ ORDER BY uc.constraint_type, uic.column_position", $connection2) as $row) {
return h($connection->error); //! highlight sqltext from offset
}
function exact_value($val) {
return q($val);
}
function explain($connection, $query) {
$connection->query("EXPLAIN PLAN FOR $query");
return $connection->query("SELECT * FROM plan_table");