[ruby-oci8-commit] [542] trunk/ruby-oci8: Use OCILobLocatorAssign_nb (non-blocking version).

nobody at rubyforge.org nobody at rubyforge.org
Sun Nov 11 13:05:58 UTC 2012


Revision: 542
Author:   kubo
Date:     2012-11-11 13:05:57 +0000 (Sun, 11 Nov 2012)
Log Message:
-----------
Use OCILobLocatorAssign_nb (non-blocking version).

Modified Paths:
--------------
    trunk/ruby-oci8/ChangeLog
    trunk/ruby-oci8/ext/oci8/lob.c

Modified: trunk/ruby-oci8/ChangeLog
===================================================================
--- trunk/ruby-oci8/ChangeLog	2012-11-11 12:45:32 UTC (rev 541)
+++ trunk/ruby-oci8/ChangeLog	2012-11-11 13:05:57 UTC (rev 542)
@@ -1,4 +1,8 @@
 2012-11-11  KUBO Takehiro  <kubo at jiubao.org>
+	* ext/oci8/lob.c: use OCILobLocatorAssign_nb (non-blocking version)
+	    instead of OCILobLocatorAssign (blocking version).
+
+2012-11-11  KUBO Takehiro  <kubo at jiubao.org>
 	* NEWS: add changes between 2.1.3 and 2.1.2
 	* VERSION: change the version to 2.1.3.
 	* dist-files: append new files.

Modified: trunk/ruby-oci8/ext/oci8/lob.c
===================================================================
--- trunk/ruby-oci8/ext/oci8/lob.c	2012-11-11 12:45:32 UTC (rev 541)
+++ trunk/ruby-oci8/ext/oci8/lob.c	2012-11-11 13:05:57 UTC (rev 542)
@@ -44,7 +44,7 @@
     /* If 's' is a temporary lob, use OCILobLocatorAssign instead. */
     chker2(OCILobIsTemporary(oci8_envhp, oci8_errhp, s, &is_temp), &svcctx->base);
     if (is_temp)
-        chker2(OCILobLocatorAssign(svcctx->base.hp.svc, oci8_errhp, s, &lob->base.hp.lob),
+        chker2(OCILobLocatorAssign_nb(svcctx, svcctx->base.hp.svc, oci8_errhp, s, &lob->base.hp.lob),
                &svcctx->base);
     else
         chker2(OCILobAssign(oci8_envhp, oci8_errhp, s, &lob->base.hp.lob),



More information about the ruby-oci8-commit mailing list