Bugs corrected in DBD/ODBC/ODBC.rb and DBD/Proxy/Proxy.rb 
Author Message
 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 = []

      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...
------------------------------------------------------------------------------



Sat, 24 Jul 2004 16:53:13 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Unix->DBI->Proxy->ODBC

2. RB and ODBC under 10.2

3. Proxy Server using TCL - PROXY.TXT (0/1)

4. DBD::Oracle9 and non-blocking mode

5. DBD for Oracle9i

6. DBD:Google

7. DBI commit and rollback with postgesql DBD

8. Informix DBD

9. ruby DBD::Pg disconnection

10. DBI/DBD installation problems

11. Ruby/DBI: DBD for SQLRelay

12. Ruby DBI/DBD

 

 
Powered by phpBB® Forum Software