diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php index 5ba1e1ac..fac022b5 100644 --- a/adminer/include/connect.inc.php +++ b/adminer/include/connect.inc.php @@ -38,7 +38,7 @@ function connect_error() { echo "" . h($db) . ""; echo "" . nbsp(db_collation($db, $collations)) . ""; $result = $connection->query("SHOW TABLES FROM " . idf_escape($db)); - echo "$result->num_rows"; + echo "$result->num_rows"; echo "\n"; } echo "\n"; diff --git a/todo.txt b/todo.txt index 5f4f27b1..9d9d3342 100644 --- a/todo.txt +++ b/todo.txt @@ -7,9 +7,9 @@ Function to fix database encoding - http://php.vrana.cz/prevod-kodovani-mysql.ph Highlight SQL textarea - may use external CodePress Mass editation of individual rows Offer enum and set items in search - whisperer -Textarea for enum and set in Alter table Variables editation, especially timezone Use event $intervals + microseconds in relative date functions +Improve concurrency by calling session_write_close before executing command, message id will be sent in query string ? Column and table names auto-completition in SQL textarea ? Aliasing of built-in functions can save 7 KB, function minification can save 7 KB, substitution of repetitive $a["a"] can save 4 KB, substitution of $_GET and friends can save 2 KB, JS packer can save 1 KB, not enclosing HTML attribute values can save 1.2 KB, replacing \\n by \n can save .3 KB ? Branch binary_compile: LZW compression of translations can save 30 KB, LZW compression of all texts can save 11 KB, remove of base64_decode() + using chars 127-255 in minification can save 1 KB