hey,

there is a small error in Zend/Db/Adapter/Pdo/Mysql.php.
on line 104 it says:

[code]
'PRIMARY'     => (bool) (strtoupper($val['key']) == 'PRI')
[/code]

which produces a Notice as the $val thing is not defined in the current
scope and thus the 'PRIMARY' index is false no matter what. i guess it
should be

[code]
'PRIMARY'     => (bool) (strtoupper($row['key']) == 'PRI')
[/code]

which of course works as expected.


SHY

Reply via email to