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

This commit is contained in:
Ralf Becker 2015-08-26 11:07:38 +00:00
parent 75c7d36a31
commit 41d9b049f2

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