From 2464463b853ef5206e3862da35f4133d809da086 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Sat, 12 Sep 2009 04:44:37 +0000 Subject: [PATCH] Display Auto Increment git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1101 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/table.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }