Re: [Maria-developers] MDEV-318 IF (NOT) EXIST clauses for ALTER TABLE

2012-07-16 Thread Alexey Botchkov
11.07.2012 20:14, Sergei Golubchik wrote: +Note 1061Duplicate key name 'x_param' +ALTER TABLE t1 ADD KEY IF NOT EXISTS x_param(x_param); typo? you test ADD KEY IF NOT EXISTS twice. Yes, but not this line. The 'KEY x_param' wasn't supposed to be created with the CREATE TABLE.

Re: [Maria-developers] MDEV-318 IF (NOT) EXIST clauses for ALTER TABLE

2012-07-16 Thread Alexey Botchkov
Hi, Sergei. +++ sql/field.cc2012-07-11 14:28:40 + @@ -9182,6 +9182,7 @@ void Create_field::init_for_tmp_table(en First: please, see the last section in http://kb.askmonty.org/en/how-to-get-more-out-of-bzr-when-working-on-mariadb/ and do as it suggests I had to apply your patch