From: Norbert Gawor Date: 2002-02-05T17:49:48+09:00 Subject: Bugs corrected in DBD/ODBC/ODBC.rb and DBD/Proxy/Proxy.rb Michael, can you please check the following changes to your modules and inherit them in the next version? (I was not able to use DBI::DBD::ODBC without them.) kind regards, Norbert Gawor -------------------------------------------------------------------- 1) Corrected in DBD/ODBC/ODBC.rb: $Id: ODBC.rb,v 1.6 2001/11/22 14:21:13 michael Exp $ column_info (line 233) changed to: def column_info info = [] @handle.columns(true).each do |col| # <== for all ODBC::columns info << { 'name' => col.name, 'table' => col.table, 'nullable' => col.nullable, 'searchable' => col.searchable, 'precision' => col.precision, 'scale' => col.scale, 'sql_type' => col.type, 'type_name' => DBI::SQL_TYPE_NAMES[col.type], 'length' => col.length, 'unsigned' => col.unsigned } info # <== return Array of Hashes (without, it returned col) end ----------------------------------------------------------------------------- 2) Corrected in DBI/proxyserver.rb: $Id: proxyserver.rb,v 1.1 2001/11/17 17:17:53 michael Exp $ line 139: "unless" changed to "if": if DBI::DBD::API_VERSION.split(".")[0].to_i != DBI::DBD::DBI::ProxyServer... ------------------------------------------------------------------------------