* Backup/MySQL: limited index length was not reported for PHP mysqli driver

This commit is contained in:
Ralf Becker 2015-08-26 11:08:03 +00:00
parent 3561712b6d
commit 7074ef6142

View File

@ -320,7 +320,8 @@ class ADODB_mysqli extends ADOConnection {
); );
} }
$indexes[$row[2]]['columns'][$row[3] - 1] = $row[4]; $indexes[$row[2]]['columns'][$row[3] - 1] = $row[4].
(is_numeric($row[7]) ? '('.(int)$row[7].')' : '');
} }
// sort columns by order in the index // sort columns by order in the index