[Phpmyadmin-devel] relation.lib.php PMA_getComments()

Sebastian Mendel lists at sebastianmendel.de
Tue Oct 2 14:45:03 CEST 2007


Hi,

marc, in PMA_getComments() you iterate over the result from

SELECT `comment`
FROM ' . PMA_backquote($cfgRelation['db']) . '.' .
PMA_backquote($cfgRelation['column_info']) . '
WHERE db_name     = \'' . PMA_sqlAddslashes($db) . '\'
AND table_name  = \'\'
AND column_name = \'(db_comment)\'';


i did not get the point, cause this will always return only one row

i think you just missed to correctly refactor the whole code for this function

revision 6758

-- 
Sebastian





More information about the Developers mailing list