AW: [odb-users] AW: SQL Epiloge
Marcel Nehring
mne at qosmotec.com
Mon Feb 22 12:35:30 EST 2016
Hi Boris,
after all I don't think it causes any problems.
And as far as our usage is concerned I started to use a single epilogue.sql to specify custom stuff. But within this epilogue.sql I only call another file. So I don't run into the case where ODB/MinGW meddles with my newlines.
Regards,
Marcel
-----Ursprüngliche Nachricht-----
Von: Boris Kolpackov [mailto:boris at codesynthesis.com]
Gesendet: Montag, 22. Februar 2016 14:22
An: Marcel Nehring <mne at qosmotec.com>
Cc: odb-users at codesynthesis.com
Betreff: Re: [odb-users] AW: SQL Epiloge
Hi Marcel,
Marcel Nehring <mne at qosmotec.com> writes:
> I can confirm that providing the option --sql-epilogue-file multiple
> times works as expected. Also the issue with the comment seems to be
> fixed.
Great, thanks for testing this.
> I still see, however, that \r\n in my file is converted to \r\r\n in
> the generated schema definition.
All we do in that code is call getline() and then write it out. So I am afraid this is MinGW's (un)helpful meddling with newlines and I am not sure what we can do about it.
Boris
More information about the odb-users
mailing list