From: jakubvrana Date: Sat, 12 Sep 2009 04:44:37 +0000 (+0000) Subject: Display Auto Increment X-Git-Tag: v3.0.0~432 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=2464463b853ef5206e3862da35f4133d809da086;p=adminer.git Display Auto Increment git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1101 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- diff --git a/adminer/table.inc.php b/adminer/table.inc.php index eff3967e..acb210ad 100644 --- a/adminer/table.inc.php +++ b/adminer/table.inc.php @@ -14,7 +14,7 @@ if ($result) { echo "" . lang('Column') . "" . lang('Type') . "" . lang('Comment') . "\n"; while ($row = $result->fetch_assoc()) { echo "" . h($row["Field"]); - echo "" . h($row["Type"]) . ($row["Null"] == "YES" ? " NULL" : ""); + echo "" . h($row["Type"]) . ($row["Null"] == "YES" ? " NULL" : "") . ($row["Extra"] == "auto_increment" ? " " . lang('Auto Increment') . "" : ""); echo "" . nbsp($row["Comment"]); echo "\n"; }