Skip to content

Instantly share code, notes, and snippets.

View kubo's full-sized avatar

Kubo Takehiro kubo

  • Japan
View GitHub Profile
@kubo
kubo / bind_null_to_object_type.dif
Created December 3, 2010 12:36
patch to bind null to object type for ruby-oci8 2.0.4
Index: ext/oci8/object.c
===================================================================
--- ext/oci8/object.c (revision 411)
+++ ext/oci8/object.c (working copy)
@@ -248,6 +248,25 @@
return Qnil;
}
+static VALUE oci8_named_type_null_p(VALUE self)
+{
@kubo
kubo / gist:655114
Created October 30, 2010 08:51
NCHAR/NVARCHAR patch for ruby-oci8 2.0
See: http://rubyforge.org/forum/forum.php?thread_id=48838&forum_id=1078
Index: ext/oci8/bind.c
===================================================================
--- ext/oci8/bind.c (revision 411)
+++ ext/oci8/bind.c (working copy)
@@ -67,7 +67,8 @@
NULL,
NULL,
NULL,