[interchange-cvs] interchange - kwalsh modified
lib/Vend/Interpolate.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Sep 20 08:36:13 EDT 2006
User: kwalsh
Date: 2006-09-20 12:36:13 GMT
Modified: lib/Vend Tag: STABLE_5_4-branch Interpolate.pm
Log:
* The [sql-quote] sub-tag (in the [query] tag) didn't work properly
if the column data spanned multiple lines, as it may do with an
INSERT or UPDATE etc.
(back-ported from CVS HEAD)
Revision Changes Path
No revision
No revision
2.261.2.5 +3 -3 interchange/lib/Vend/Interpolate.pm
rev 2.261.2.5, prev_rev 2.261.2.4
Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.261.2.4
retrieving revision 2.261.2.5
diff -u -r2.261.2.4 -r2.261.2.5
--- Interpolate.pm 12 Dec 2005 18:16:09 -0000 2.261.2.4
+++ Interpolate.pm 20 Sep 2006 12:36:13 -0000 2.261.2.5
@@ -1,6 +1,6 @@
# Vend::Interpolate - Interpret Interchange tags
#
-# $Id: Interpolate.pm,v 2.261.2.4 2005/12/12 18:16:09 mheins Exp $
+# $Id: Interpolate.pm,v 2.261.2.5 2006/09/20 12:36:13 kwalsh Exp $
#
# Copyright (C) 2002-2005 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -28,7 +28,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.261.2.4 $, 10);
+$VERSION = substr(q$Revision: 2.261.2.5 $, 10);
@EXPORT = qw (
@@ -4428,7 +4428,7 @@
\[\Q$opt->{prefix}\E[_-]quote\](.*?)\[/\Q$opt->{prefix}\E[_-]quote\]
:
$db->quote($1)
- :xige;
+ :xisge;
if (! $opt->{wantarray} and ! defined $MVSAFE::Safe) {
my $result = $db->query($opt, $text);
More information about the interchange-cvs
mailing list