Sheeri K. Cabral wrote:
> On 7/18/08, *Monty Taylor* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>  
> 
>     I think getting rid of show would be TERRIBLE. However, I agree it
>     shouldn't be in the server parser.
> 
>     There are already two methods in the client lib for show tables and show
>     databases. The client program (drizzle.c) already does parsing of the
>     input to deal with client commands.
> 
>     Why not just move all the show == I_S logic into the client level? It's
>     in the client that "show databases" matters anyway. That way we can keep
>     the commands but remove them from the server...
> 
> 
> My only caveat is that some folks use this programmatically, so by
> "client" I'd caution for it to be in the "client API libraries" or
> whatever -- Often folks will use things like "show tables" in a PHP
> script......just clarifying to make sure we're all on the same page wrt
> "client" vs. "mysql program which is a commandline client".

Hrm.

Well, I was thinking of having acces in "client API libraries" ... but
hopefully more like:

drizzle_show_tables()
drizzle_show_tables_like("f%")

Than:

drizzle_query("show tables")

Do you think that's good enough?

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to