maria-developers team mailing list archive
Mailing list archive
Re: [GSOC 2014] "CREATE OR REPLACE, CREATE IF NOT EXISTS, and DROP IF EXISTS" Project
If you could add "CREATE VIEW … FORCE" too, that would be awesome.
See the Oracle Enterprise docs for the behavior:
On Wed, 3/19/14, Sergei Golubchik <serg@xxxxxxxxxxx> wrote:
Subject: Re: [Maria-developers] [GSOC 2014] "CREATE OR REPLACE, CREATE IF NOT EXISTS, and DROP IF EXISTS" Project
To: "sriram patil" <spsrirampatil@xxxxxxxxx>
Date: Wednesday, March 19, 2014, 12:22 PM
On Mar 19, sriram patil wrote:
> Hi Sergei,
> I studied lex and yacc and understood complete parser
> sql_yacc.yy. Also went through the constants and
symbols declared in lex.h,
> sql_yacc.h, sql_cmd.h.
> I found out that OR REPLACE and IF NOT EXISTS is
already implemented for
> tables. The IF NOT EXISTS rule is also defined for
index in yacc file but
> not handled in the execution code. And for other object
types we need to
> add the rules in yacc files and also need to change the
> "mysql_create_<object_type>" functions in
> The OR REPLACE and IF NOT EXISTS are handled in the
> itself. I found two flags in LEX class which are used
for the purpose,
> create_info.options and check_exists.
> So, are all the things that I have compiled correct?
> I have an initial draft of my proposal ready. I will
upload it on the GSOC
> portal today, please review. Should I also email the
same to you?
No, please don't. I get an email automatically for every new
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~maria-developers
More help : https://help.launchpad.net/ListHelp