On Mon, Nov 22, 2004 at 09:32:53PM +0000, Philip Olson wrote:
> > > That isn't really a typo, the alias for deprecated mysql_list_tables is
> > > in fact mysql_listtables. I think you shold revert your change.
> > 
> > It's the opposite :-). Function names with underscores are aliases for
> > deprecated ones without it. So the change shouldn't be reverted. BTW
> > in this case, both functions are deprecated by mysql_query("SHOW
> > TABLES")...
> 
> Regardless, the change is wrong. Either revert or completely
> rewrite. And according to aliases.xml, the function names
> [...]

What about removing the paragraph

  For downward compatibility, the function alias named
  <function>mysql_listtables</function> can be used. This is
  deprecated however and is not recommended.

and changing the note to

  The function <function>mysql_list_tables</function> and its alias
  <function>mysql_listtables</function>, which can be used for
  downward compatibility, are deprecated. [...]

or

  The function <function>mysql_list_tables</function> is deprecated.
  So is <function>mysql_listtables</function>, which is an alias and
  can be used for downward compatibility. [...]

Martin

Reply via email to