1
0
Fork 0
Commit Graph

6 Commits

Author SHA1 Message Date
Jan 8a659cd16f Bug fix/fix bison error message leak (#5864)
* define YYSTACK_USE_ALLOCA for Bison

    we are now using alloca here explicitly because we may
    otherwise leak error messages that are generated by Bison.
    Bison reports all its errors via the function `Aqlerror`, which
    will receive the error message as a constant string. So we
    must not free the string inside `Aqlerror`, and we cannot even
    tell if the error message is a dynamically allocated error
    message or a hard-coded error message that resides in some
    static part of the program.
    Even worse, `Aqlerror` does not return control to Bison but throws
    an exception... So the best thing we can do here is to not use
    dynamically memory allocation by Bison, but make it use alloca.

* added generated files
2018-07-13 14:06:52 +02:00
Vasiliy 3e983adb2d issue 381.6: enforce use of VIEW keyword for bound views and disallow for bound collections (#5522) 2018-06-05 14:45:53 +03:00
Andrey Abramov 1b7dd672c9 Bug fix/internal issue #342: allow to bind a view name (#4554) 2018-02-13 21:53:01 +01:00
Jan 2a96df5ca5
Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
jsteemann 00b1632ece factored out AccessMode from transaction.h 2017-01-25 11:57:21 +01:00
jsteemann 7a81798771 allow simplified ternary operator syntax 2016-12-28 21:34:55 +01:00