You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2016/11/16 23:13:26 UTC
svn commit: r1770071 - in /tcl/rivet/branches/2.3: ChangeLog
rivet/packages/dio/dio_Postgresql.tcl
Author: mxmanghi
Date: Wed Nov 16 23:13:26 2016
New Revision: 1770071
URL: http://svn.apache.org/viewvc?rev=1770071&view=rev
Log:
* rivet/packages/dio/dio_Postgresql.tcl: applied
consistent single quote character handling by
calling PgTcl function pg_quote (closes bug #60378)
Modified:
tcl/rivet/branches/2.3/ChangeLog
tcl/rivet/branches/2.3/rivet/packages/dio/dio_Postgresql.tcl
Modified: tcl/rivet/branches/2.3/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/ChangeLog?rev=1770071&r1=1770070&r2=1770071&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/ChangeLog (original)
+++ tcl/rivet/branches/2.3/ChangeLog Wed Nov 16 23:13:26 2016
@@ -1,3 +1,8 @@
+2016-11-17 Massimo Manghi <mx...@apache.org>
+ * rivet/packages/dio/dio_Postgresql.tcl: applied
+ consistent single quote character handling by
+ calling PgTcl function pg_quote (closes bug #60378)
+
2016-11-15 Massimo Manghi <mx...@apache.org>
* rivet/rivet-tcl/catch.tcl|try.tcl: better
script evaluation is catch/try construct,
Modified: tcl/rivet/branches/2.3/rivet/packages/dio/dio_Postgresql.tcl
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/rivet/packages/dio/dio_Postgresql.tcl?rev=1770071&r1=1770070&r2=1770071&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/rivet/packages/dio/dio_Postgresql.tcl (original)
+++ tcl/rivet/branches/2.3/rivet/packages/dio/dio_Postgresql.tcl Wed Nov 16 23:13:26 2016
@@ -151,11 +151,11 @@ namespace eval DIO {
}
default {
# no special code for that type!!
- return "'[quote $val]'"
+ return [pg_quote $val]
}
}
} else {
- return "'[quote $val]'"
+ return [pg_quote $val]
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org