Skip to content

Instantly share code, notes, and snippets.

@kubo
Created October 30, 2010 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kubo/655114 to your computer and use it in GitHub Desktop.
Save kubo/655114 to your computer and use it in GitHub Desktop.
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,
- SQLT_LVC
+ SQLT_LVC,
+ SQLCS_NCHAR,
};
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment