<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/oratcl/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/oratcl/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 02 Oct 2007 12:27:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/oratcl/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>regression: orafetch -command doesn't return rc code</title><link>https://sourceforge.net/p/oratcl/patches/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;With oratcl4.3 I wrote this code.&lt;/p&gt;
&lt;p&gt;while { [orafetch $c -datavariable row -command {&lt;br /&gt;
uplevel $cmd&lt;br /&gt;
}]] == 0 } {}&lt;/p&gt;
&lt;p&gt;It works as expected. But not with Oratcl 4.4!&lt;br /&gt;
In Oratcl_Fetch the call to Tcl_EvalObjEx() overwrites the result. My trivial patch restores the behaviour of Oratcl 4.3:&lt;/p&gt;
&lt;p&gt;*** oratcl.c.old        Tue Apr 25 16:29:11 2006&lt;br /&gt;
--- oratcl.c    Tue Oct  2 14:16:22 2007&lt;br /&gt;
***************&lt;br /&gt;
*** 5984,5989 ****&lt;br /&gt;
--- 5984,5991 ----&lt;/p&gt;
&lt;p&gt;if (evalObjPtr) {&lt;br /&gt;
tcl_return = Tcl_EvalObjEx(interp, evalObjPtr, 0);&lt;br /&gt;
+                 if( tcl_return == TCL_OK )&lt;br /&gt;
+                   Tcl_SetObjResult(interp, Tcl_NewIntObj(0));&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;common_exit:&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christoph Bauer</dc:creator><pubDate>Tue, 02 Oct 2007 12:27:45 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8e744c190ae7d1b7f651d8968bfb2434d0d46b38</guid></item><item><title>Patch to make Oratcl load in a mixed 8i, 9i and 10g env</title><link>https://sourceforge.net/p/oratcl/patches/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We are running a mixture of Oracle versions, 32 bit &lt;br /&gt;
8i and 64 bit 10g.  As we want to continue with a 32 &lt;br /&gt;
bit version of Tcl there is a problem finding the &lt;br /&gt;
correct version of the libclntsh.so library.  For 8i &lt;br /&gt;
it's in the lib directory and for 10g it's in the &lt;br /&gt;
lib32 directory.&lt;/p&gt;
&lt;p&gt;The attcahed file patches the oratcl.c file to try &lt;br /&gt;
the lib32 directory if it fails to load the &lt;br /&gt;
libclntsh.so from the lib directory.&lt;/p&gt;
&lt;p&gt;I've tested this on Solaris 8 with Oracle 8.1.4 and &lt;br /&gt;
10.1.0.&lt;/p&gt;
&lt;p&gt;I don't known if this is something you want in the &lt;br /&gt;
core but as I'd written it I thought I would share :-)&lt;/p&gt;
&lt;p&gt;Jackson&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jackson McCann</dc:creator><pubDate>Wed, 17 May 2006 10:47:27 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net4a27477e5d7edf447fb23fcbc51a0d4c54dc9d51</guid></item><item><title>Logon errors not handled correctly</title><link>https://sourceforge.net/p/oratcl/patches/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In Oratcl 4.3, some improvements have been made with &lt;br /&gt;
the way errors are displayed on logon failure. However, &lt;br /&gt;
this does not take into account the error code ORA-&lt;br /&gt;
28002 which is a warning that the password is about to &lt;br /&gt;
expire but does not prevent logon.&lt;/p&gt;
&lt;p&gt;The attached patch (for oratcl.c-1.102..2.21) resolves &lt;br /&gt;
this issue and allows the logon to succeed and places &lt;br /&gt;
the warning in the oramsg buffer.&lt;/p&gt;
&lt;p&gt;Furthermore, I have provided a patch for the 4-1 branch &lt;br /&gt;
which achieves the same result. Additionally, the actual &lt;br /&gt;
error message is returned in the Tcl buffer instead of the &lt;br /&gt;
fixed "invalid password" string.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aktar</dc:creator><pubDate>Tue, 22 Mar 2005 13:27:12 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net415edbe7de72682eddf8b75cc97660e9c22c79f7</guid></item><item><title>Array DML</title><link>https://sourceforge.net/p/oratcl/patches/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch adds array dml to oratcl.  This allows for&lt;br /&gt;
seriously improved performance when insert/updating a&lt;br /&gt;
lot of data.  Instead of executing an insert/update for&lt;br /&gt;
each row oratcl will now allow you to past a list of&lt;br /&gt;
values to be inserted/updated and it will send all of&lt;br /&gt;
this data to the database to be processed.  See orabind&lt;br /&gt;
for more on this.&lt;/p&gt;
&lt;p&gt;The statement will also execute in batch error mode. &lt;br /&gt;
This allows Oracle to process *all* the data and then&lt;br /&gt;
just let you know which rows failed so you can correct&lt;br /&gt;
them and retry.  See oramsg for more on this.&lt;/p&gt;
&lt;p&gt;See the docs.  The orabind, and oramsg commands were&lt;br /&gt;
modified to make this new feature work.&lt;/p&gt;
&lt;p&gt;Examples:&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
set sql &amp;amp;quot;insert into mytable (col1) values (:val1)&amp;amp;quot;&lt;br /&gt;
set values [list 1 2 3 4 5]&lt;br /&gt;
oraparse $stmt $sql&lt;br /&gt;
orabind $stmt -arraydml :val1 $values&lt;br /&gt;
oraexec $stmt&lt;br /&gt;
-----------------------------------------------&lt;/p&gt;
&lt;p&gt;The example above will insert 5 rows, one row for each&lt;br /&gt;
of the values in the list.  And it will do it *very*&lt;br /&gt;
fast compared to calling orabind/oraexec 5 times.&lt;/p&gt;
&lt;p&gt;This patch was made against the oratcl-4-1-branch.&lt;/p&gt;
&lt;p&gt;Performance&lt;br /&gt;
----------------------------------------------&lt;br /&gt;
INSERTING 5000 rows (array dml):  3.33 seconds&lt;br /&gt;
INSERTING 5000 rows (orabind/oraexec):  28.85 seconds&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeremy Collins</dc:creator><pubDate>Tue, 10 Jun 2003 02:08:05 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6986ad26349c79fefc30933df6c60ecad7ac725d</guid></item><item><title>oradesc broken in 3.3 for syn</title><link>https://sourceforge.net/p/oratcl/patches/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here is a slightly better patch than the one Bastien&lt;br /&gt;
Chevreux &amp;amp;lt;bach&amp;amp;gt; posted with bug report 544152.  This&lt;br /&gt;
sets ec to the result of Oratcl_Checkerr() instead,&lt;br /&gt;
just as is done at the top of the loop:&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rodgers</dc:creator><pubDate>Thu, 05 Dec 2002 21:27:47 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd5cc3515d4a8f6619802b32bece6fa031f6afc8e</guid></item><item><title>Support for &amp;amp;quot;named type&amp;amp;quot; columns</title><link>https://sourceforge.net/p/oratcl/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is a small patch for oratcl.c which adds support &lt;br /&gt;
for oracle named type columns in the &amp;amp;quot;oradesc&amp;amp;quot; &lt;br /&gt;
command.  For example, a column of type &amp;amp;quot;XMLType&amp;amp;quot; &lt;br /&gt;
was previously reported as &amp;amp;quot;UNKNOWN&amp;amp;quot; will be &lt;br /&gt;
correctly reported.  It has only been tested against 9i &lt;br /&gt;
as that's all I have available to me.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olly Stephens</dc:creator><pubDate>Wed, 11 Sep 2002 22:11:02 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7b5c338b45b75d29d019626112f8ebf2b7231b3c</guid></item><item><title>Update oddis (from 2.7) for 3.1+</title><link>https://sourceforge.net/p/oratcl/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch updates Oddis2.11 (distributed with &lt;br /&gt;
Oratcl2.7) to work with Oratcl3.1+&lt;/p&gt;
&lt;p&gt;The patch is lightly tested, but does work for&lt;br /&gt;
simple queries.&lt;/p&gt;
&lt;p&gt;The file oddis2.11 is changed to use wishx rather&lt;br /&gt;
than orawishx and use the &amp;amp;quot;package require&amp;amp;quot; command&lt;br /&gt;
to load Oratcl.  You will still need to edit the&lt;br /&gt;
module_name definition per the Oddis README.&lt;/p&gt;
&lt;p&gt;The file orafunc.tcl is changed to use the new&lt;br /&gt;
oracols command options rather than the deprecated&lt;br /&gt;
oramsg array to obtain table/query column descriptions.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin Lewis</dc:creator><pubDate>Fri, 30 Mar 2001 01:03:15 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net52f4280ed7a402191940ca691f9ac370ecce223e</guid></item></channel></rss>