Re: PG8: set search_path at compile time?
Mike Aubury <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WG2bP1GFg1Ph_QEL-1R6Joe2kqfO=9KPHGr3insdJktNA@mail.gmail.com> |
I'm not sure I follow... All we need to do is make sure the DEFAULT_SQL's run at compile time (which currently doesn't happen) as well as runtime (which already happens). The compile time conversions shouldn't come into it at all ? On 12 November 2013 16:31, wh <[email protected]> wrote: > Hello Mike > > > I still think thats the way to fix it - if its not being run at > > compile time or runtime - it should be fixed to run at the other one > > too :) > > > > The DEFAULT_SQL should be made to work regardless of the LEXTYPE... > > 100% agree. > > But it took me a while to find the place where this behaviour is > controlled. I finally found it at lib/liblex/lex_esqlc/compile_c.c, line > 5991. > > What do you think, should I "hardcode" enabling compile time convert > here (by calling A4GL_set_compile_time_convert(1)) or make this > configurable via a new environment variable? > > I would prefer the 2nd option (with a default of "no compile time > convert"), because I'm not sure if this would break other peoples > code... > > > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Aubit4gl-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss > ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss