[sr-dev] [kamailio] quoted words reserved by mysql (#159)

Daniel-Constantin Mierla miconda at gmail.com
Wed May 13 16:42:30 CEST 2015



On 13/05/15 16:14, juha-h wrote:
> Daniel-Constantin Mierla writes:
>
> > Hmm, so partition was introduced as reserved word in mysql 5.6 -- I
> > tested with 5.5. I wouldn't have added it with such name just to avoid
> > headaches with other applications. For that reason, wondering if
> > should be renamed now as we don't have a stable release out with this
> > column name.
>
> I would prefer possibility to add the quotes automatically, since
> different words may be reserved in different db engines and things can
> change from version to version as we have witnessed.
>
> I have all my upgrade scripts done and would not like to see any more
> changes in db schema.
>
Yes, adding quotes has to be done for sure.

I asked about the rename as life using other tools may become easier and
see the opinion of other devs.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-dev mailing list