Re: update/delete with no where : error instead of warning

Fernando Ortiz <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAKK5tB18ojSDE=T9n-EFNBq=RX-9OV=Kj9-5arzBGEQu5E2Sdw@mail.gmail.com>
Great Mike!

As always a superb service.

Regards



On Tue, Sep 30, 2014 at 1:05 PM, Mike Aubury <[email protected]> wrote:
> There wasn't, so I've just added :
>
>    A4GL_ERRONWARN=Y
>
> which promotes *all* warnings to be errors.
>
> Also - added "A4GL_ERR_DELNOWHERE=Y" and "A4GL_ERR_UPDNOWHERE=Y" to do the
> same thing selectively
>
>
>
>
> On 30 September 2014 16:09, Fernando Ortiz <[email protected]> wrote:
>>
>> Hi
>>
>> Is any environment variable I can set to raise the level to error?
>>
>>
>> Warning : UPDATE with no WHERE clause @ line 23
>>
>> Warning : DELETE with no WHERE clause @ line 23
>>
>>
>> Thanks
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Aubit4gl-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>>
>

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.