[Phpmyadmin-devel] Re: 2.3.0 schedule

Beck, Mike mike.beck at ibmiller.de
Mon Jul 8 02:53:04 CEST 2002


> 
> > 2. Adding an "PMA_mysqlDie()" inside the wrapper (just like
> >    within "PMA_query_as_cu" is also a problem since sometimes
> >    we may not want the error to be displayed.
> 
> so i'll change the function call so that you can send a 
> variable stating
> that you do not want
> the error to displayed and per default display it, ok?
> (if i am using my function anyway i prefer to have the 
> function check for
> errors for reasons of lazyiness)

this is done. please try using
PMA_query_as_cu($sql,FALSE)
to not have it die

> 
> > 
> > For example, just define a "pmadb" that does not exist in the
> > config file and try to do something with phpMyAdmin: you
> > always get a MySQL error message while we should only ignore
> > bookmark/relation... features in this case.
> > 

now the relation_inc checks if it can find the pmadb and otherwise will
disable relation features. 

-- 
Mike Beck
mike.beck at users.sourceforge.net 






More information about the Developers mailing list