[Phpmyadmin-devel] Re: bug #620624

Hi List! Michal wrote:
I have one question: Why was in libraries/auth/config.auth.lib.php3 called PMA_mysqldie with sql parameter containing how was mysql_connect called?
Well, at the beginning the "PMA_mysqlDie()" function was used to have a xtml valid and nice MySQL error report. Maybe we could only add a setting in this function to bypass the parser when it is called because a PHP function for MySQL failed? Loïc ______________________________________________________________________ Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros d'économies ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant

Hi
Well, at the beginning the "PMA_mysqlDie()" function was used to have a xtml valid and nice MySQL error report. Maybe we could only add a setting in this function to bypass the parser when it is called because a PHP function for MySQL failed?
Maybe yes, but anyway we should not pass to it passwords stored in config file. Michal

Well, at the beginning the "PMA_mysqlDie()" function was used to have a xtml valid and nice MySQL error report. Maybe we could only add a setting in this function to bypass the parser when it is called because a PHP function for MySQL failed?
And what about a PMA_phpDie() function? imho php function failures and those of MySQL queries should be handled serperately. Alexander

On Mon, Oct 14, 2002 at 11:19:56AM +0200, Rabus wrote:
Well, at the beginning the "PMA_mysqlDie()" function was used to have a xtml valid and nice MySQL error report. Maybe we could only add a setting in this function to bypass the parser when it is called because a PHP function for MySQL failed? And what about a PMA_phpDie() function? imho php function failures and those of MySQL queries should be handled serperately. I'd agree with that one.
The SQL Parser and pretty-printer should only ever be used on SQL queries, and seperating the types of error is a good move to make. -- Robin Hugh Johnson E-Mail : robbat2@orbis-terrarum.net Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 ICQ# : 30269588 or 41961639 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
participants (4)
-
Lo�c
-
Michal Cihar
-
Rabus
-
Robin Johnson