From 84ec21afea5624afb3791216cc5d5454fe4b1fd4 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 19 Oct 2009 12:54:15 +0000 Subject: [PATCH] Align table count git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1201 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/include/connect.inc.php | 2 +- todo.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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