Patches item #1967, was opened at 2005-05-30 00:34
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1700&aid=1967&group_id=426

Category: Ruby1.8
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jon-Carlos Rivera (voxel)
Assigned to: Nobody (None)
Summary: win32ole.c

Initial Comment:
nil entries inside arrays are converted into variant type VT_ERROR instead of the correct variant type VT_EMPTY. This specifically causes problems with the "ADODB.Connection.OpenSchema(14, [nil, nil, table_name, nil])" method that takes an array with mostly empty items as its second parameter. 

The nightly snapshot of Ruby does have a similar fix nil-in-parameter-lists conversion but does nothing to fix the array-with-nil conversion.

This patch simply makes one copy and appends a "2" twice.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1700&aid=1967&group_id=426