Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Primary key flag is not always set

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@226 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit 038e688ec969945b30e660635ea15f796406e931 1 parent 4057143
jakubvrana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  functions.inc.php
View
2  functions.inc.php
@@ -208,7 +208,7 @@ function select($result) {
$types = array();
for ($j=0; $j < count($row); $j++) {
$field = $result->fetch_field();
- if (strlen($field->orgtable) && $field->flags & 2) {
+ if (strlen($field->orgtable)) {
if (!isset($indexes[$field->orgtable])) {
$indexes[$field->orgtable] = array();
foreach (indexes($field->orgtable) as $index) {
Please sign in to comment.
Something went wrong with that request. Please try again.