← Back to team overview

maria-developers team mailing list archive

Re: MDEV-318 IF (NOT) EXIST clauses for ALTER TABLE


Hi, Sergei.

+++ sql/field.cc	2012-07-11 14:28:40 +0000
@@ -9182,6 +9182,7 @@ void Create_field::init_for_tmp_table(en

First: please, see the last section in
and do as it suggests

I had to apply your patch locally and re-run bzr diff
to get the function names in the diff :(

Wasn't able to start that last section.
I created the .bazaar/diff_p/, the __init__.py, and .bazaar/rules files,
then get:

$ bzr diff >dif2
bzr: ERROR: exceptions.UnboundLocalError: local variable 'diff_file' referenced before assignment

Although i used other tips from that page so my diff includes the function's names already. Maybe that's enough.


Follow ups