[ic] sql query with UNION broken
Jon Jensen
jon at endpoint.com
Fri Aug 22 17:15:38 EDT 2003
On Fri, 22 Aug 2003, Mike Heins wrote:
> > I suggest a minor correction to your second proposal, as follows:
> >
> > $update = 1 if $query !~ /^[\s\W]*select\s+/i;
> >
> > That would allow multiple opening parentheses (with or without
> > whitespace between) before the SELECT.
>
> Since whitespace is \W, we can simplify to \W*.
That's right! So that makes it a one-character patch. I just committed it.
Thanks,
Jon
More information about the interchange-users
mailing list