- 0.0.16 (2002-07-03)
- dbd_pg: Added Statement#fetch_scroll (patch by Stephen Davies).
- dbi: Added StatementHandle#[] and #[]=. Updated DBI and DBD specs.
- dbd_pg: Fixed semantic of method Statement#rows (affects also Database#do):
Now returns the Row Processed Count instead of the number of rows in the result.
The old behaviour is still available through method Statement#['pg_row_count'].
- changed license from GNU GPL to BSD
- 0.0.15 (2002-05-21)
- added example trace_test.rb
- moved constant VERSION from dbi.rb to new file version.rb
- explicitly initialize @trace_mode and @trace_output in Handle#initialize (ommits disturbing warning messages)
- dbd_mysql: added driver specific function insert_id applicable to DatabaseHandle objects
- 0.0.14 (2002-05-14)
- dbd_mysql: fixed bug: method #do and #execute both set query_with_result of
the same underlying database object. This results in errors if you mix both
method calls (not neccessarily called concurrently). Solution: Mutex.
- dbd_pg: cache calls to PGResult#result in class Tuples (patch by James
F.Hranicky); increase performance of a factor around 100
- 0.0.13 (2002-04-16)
- Moved project to SourceForge.
- dbd_odbc: fixed bug in method columns (Norbert Gawor)
- dbd_proxy, proxyserver: upgraded to DBD API 0.2; fixed bug (Norbert Gawor)
- 0.0.12 (2001-12-28)
- dbd_oracle: added Database#columns method
- sql.rb: nil as argument in methods of DBI::SQL::BasicQuote::Coerce results in nil
- examples: added xmlgen.rb (library to generate XML; requires REXML)
- dbd_sqlrelay: updated version included (by David Muse).
- dbd_pg: fixed bug (displayed wrong default values) in method
Database#columns (Joseph McDoanlds)
- dbd_oracle:
- added ?-style parameter markers (don't use them together with :1 or :name style)
- dbd_sqlite: added type conversion
- sql.rb: added class PreparedStatement
- dbd_odbc: fixed method Database#tables, added Database#ping and columns, extended Statement#column_info
- dbi.rb: fetch_all and fetch_many now always return an Array ([] instead of nil)
- proxyserver.rb: moved into directory bin/proxyserver
- sqlsh.rb:
- moved from examples to bin/commandline; install it by default
- refactored source a lot
- added \irb (start irb in context) and \rb (execute ruby command) commands
- SQL statements end with ";" (over multiple lines)
- 0.0.11 (2001-11-14)
- dbd_sqlite: new DBD for SQLite
- dbd_sqlrelay: new DBD for SQLRelay
- dbd_mysql: fixed quoting for DBI::Binary and Strings containing non-printable characters
- dbd_pg:
- improved Database#ping (return one instead of hundred rows)
- added Database attribute: pg_client_encoding
- added driver specific functions in Database: blob_import, blob_export, blob_create, blob_open, blob_unlink and blob_read
- convert automatically DBI::Binary objects to OID's and insert the content as BLOB
- method DatabaseHandle#columns now extract default value.
- dbd_db2: provide DatabaseHandle#do and parameter markers.
- sqlsh.rb: added commands \dt (describe table), \s (select * from table) and \pl (page length).
- 0.0.10 (2001-10-22)
- dbd_odbc: added odbc_ignorecase option (submitted by Sean O'Halpin), requires Ruby/ODBC 0.93
- dbi: DBI.get_driver(driver_url) returns DriverHandle object
- dbd_mysql: added createdb, dropdb, reload, shutdown as driver-specific
functions (callable with method Handle#func) of Driver and Database
- dbd_mysql: added StatementHandle#fetch_scroll
- 0.0.9 (2001-09-07)
- Fixed bug in sql.rb, method "quote" (gsub! => gsub). (thanks to Stephen Davies)
- dbd_db2: return more fields in method StatementHandle#column_info
- dbd_odbc: removed patch required for Ruby/ODBC version 0.4
- moved DBI::ColumnInfo out of file dbi.rb to columninfo.rb
- DatabaseHandle#columns currently only supported by DBD::Pg and DBD::MySQL.
Thanks to Eli Green for his implementation.
- StatementHandle#column_info no more returns an array of hashs, instead it
returns an array of DBI::ColumnInfo objects
- new class DBI::ColumnInfo
- new method DatabaseHandle#columns(table)
- extended DBD and DBI specs (added constants for introspection, Database#columns)
- fixed bug in utils.rb XMLFormatter.table (thanks to Jim Menard)
- 0.0.8 (2001-07-28)
- fixed bug in DBI::Row (dup/clone did not work) (Jim Weirich)
- fixed bug in dbi.rb (load_driver)
- corrected quoting for Date, Time and Timestamp
- 0.0.7 (2001-07-11)
- fixed bug in dbi.rb, which was newly introduced in 0.0.6
- 0.0.6 (2001-07-06)
- added supports for dbi:DBD:database:host instead of dbi:DBD:database=aaa;host=bbb (John Gorman)
- added case-insensitive driver URLs (e.g. dbi:Pg:... and dbi:pg:... works) (John Gorman)
- improved examples/sqlsh.rb (added scripting features \i \o)
- fixed bug in dbi/sql.rb method bind.
- 0.0.5 (2001-06-09)
- almost complete rewrite of DBI by Michael Neumann.
- 0.0.4 (2001-05-05)
- based on Jim Weirich's suggestion, the drivers have been moved
into a new namespace: DBI::DBD::[driver]
- 0.0.3 (2001-04-28)
- changed 'driver not found' error-message to something more generic
- 0.0.2