2007-12-26 Patrick Galbraith <patg@grazr.com> (4.006)
* Cleanups on OS X compile
* Fixes to syntax errors on AIX
* Removed test code that was leaving trace files around
2007-3-22 Patrick Galbraith <patg@grazr.com> (4.005)
* Fixed mysql_warning issue < 4.1 (reminers, patches, help from ROAM, (issue 25713)
* makerealclean patch from ROAM (issue #25714)
* sqlstate cleanup patch from ROAM
* Replaced all references to dbis to use imp_xxh per DBI best practices
* Fix to dbd_st_destroy - added back previously removed 'free everything' code which
had been moved to dbd_st_finish, causing a crash upon freeing of bind values
after all rows resulting from one execution of a query have been fetched. This meant
that next attempt to execute the prepared statement would segfault. This
work thanks to Rainer Weikusat!
* Removed all 'FindNewTable' calls in all tests. Just use 't1' for all tests to
simplify things. Plus, this is how MySQL internall tests.
* Better 'skip test' logic in some tests that were still running when they shouldn't
have been.
2007-3-22 Patrick Galbraith <patg@grazr.com> Jim Winstead <jimw@mysql.com> (4.004)
* Work around a bug in old 3.23 servers by specifying NOT NULL for fields used
as a primary key in tests. (Bug #20325, reported by Julian Ladisch)
* Add support for mysql_warning_count statement handle attribute. (Bug #25457,
patch from Philip Stoev)
* Add support for mysql_multi_statements connection option. (RT #12322, based
on patch from Doug Morris)
* Had to bump to 4.003 do to print statement in mysql.pm that made it
into the dist. Even though you can delete a file on CPAN, you cannot
re-upload it if it's the same name. Mea Culpa.
* UTF8-Flag not set with flag mysql_enable_utf8 and column collation utf8_bin patch,
Joost Diepenmaat, (RT #24738)
* Fixed do_error definition (Scott Hildreth, Tim Bunce)
* Conversion of test suite to Test::More
2007-3-5 Patrick Galbraith <patg@grazr.com> Jim Winstead <jimw@mysql.com> (4.003)
* Fix inclusion of non-primary keys in primary_key_info. (Bug #26786,
reported and patch by Dave Rolsky)
2007-3-1 Patrick Galbraith <patg@grazr.com> Jim Winstead <jimw@mysql.com> (4.002)
* Fix re-exec of Makefile.PL when forcing $ENV{LANG} to 'C'. (RT #25233,
reported by Slaven Rezic)
* Rewrote table_info method to support all arguments (previously it would
only ever return all of the tables in the current database, no matter what
was specified)
* Fixed $DBD::mysql::VERSION to be a string instead of a float, which caused
problems for certain locales
* Fixed bug #23974. $dbh->column_info now returns handle with no rows upon
table not existing. Much thanks to Tim Bunce for help fixing the problem
in mysql.pm vs. dbdimp.c
* Removed #ifdefs for do error (sqlstate being passed as last arg depending on
version)
* Fixed insertid test to work with auto_increment_increment replication setup.
* Patch from Tim Bunce fixing do() not set $dbh->{Statement} attribute,
which prevented DBD::Profile from giving correct results for calls to do()
and causing ShowErrorStatement to possibly report the wrong statement in the
error message
* Patch from Tim Bunce clearing out the sth attribute cache when switching
between result, sets which prevented the adjustedment of NUM_OF_FIELDS
* Cleanup of several unused variables
* Added support for wildcards in last argument of column_info().
* Add mysql_is_auto_increment to results of column_info(). (Bug #26603,
original patch from Dave Rolsky)
* Return the correct table type for both tables and views from the table_info()
method. (Bug #26603, original patch from Dave Rolsky)
* Add implementation of foreign_key_info() (Bug #26604, original patch from
Dave Rolsky, and final implementation based on Connector/J code)
2007-1-8 Jim Winstead <jimw@mysql.com> Patrick Galbraith <patg@grazr.com> (4.001)
* Fix handling of unsigned integer values in result sets when using
server-side prepared statements (they were not retrieved at all).
* Fix handling of signed integer values when using server-side prepared
statements (they were being forced to unsigned values).
* Do not tell Perl that the contents of binary fields are UTF-8.
[rt.cpan.org #22123], original patch by Joost Diepenmaat
* Fix double-free of bound parameters when freeing statements. (Bug #20559)
* Make sure to handle "magical" values in a couple of places. (Bug #20104)
* Update the hints about what to do when zlib is found missing while
linking. (Bug #13803, reported by Philip Stoev)
* Explicitly initialize the MySQL client library to avoid possible race
conditions in a multithreaded application. (Bug #21792)
* Fix warning when no connection attributes are passed to the connect
method (Bug #17323, reported by Phil Randal)
* Removed redundant warnings when commit or rollback is called while
AutoCommit is enabled. [rt.cpan.org #15802], reported by Tyler MacDonald
* Report correct type for decimal columns from MySQL 5.0 and later
[rt.cpan.org #18294], reported by Ray Zimmerman
* Fix t/40bindparam.t to work when ANSI_QUOTES SQL_MODE is set.
[rt.cpan.org #21521], reported by David Wheeler
* Return a statement handle with an error when column_info is called on
a table that does not exist. (Bug #23974, patch by Philip Stoev)
* Fix handling of table names with characters that did not match /\w/ in
the column_info method. (Bug #22005, reported by Philip Stoev)
* Fix handling of negative integers bound to a column marked as SQL_INTEGER.
[rt.cpan.org #18976], patch from Mike Schilli.
* Add support for the primary_key_info method. [rt.cpan.org #8541]
* Fixed Bundle::DBD::mysql to only include modules required for using
DBD::mysql, not the old Mysql package. [rt.cpan.org #24096]
* Updated Makefile.PL to not include files in .svn directories
* Fixed various compile warnings in mysql.xs (ISO C)
* Cleaned up stored procedure examples, made strict
* Fixed bug that blew away subsequent result sets if you fetched all rows, only in
result sets that had more than one row
* Added test for bug #14979http://rt.cpan.org/Ticket/Display.html?id=14979, which still
fails
* Tested with ALL mysql versions, fixed 40types, 40bind_param tests to work with 4.0, 4.1
* Fixed dbdimp.c to not test for MYSQL_DATA_TRUNCATED unless >= mysql 5.0
2006-12-22 Patrick Galbraith <patg@patg.net>, Alexey Stroganov (4.00)
* Added Alexey Stroganov's patch which fixes varying number of columns in
multiple result sets. Added new test cases to 80procs.t based of his
test script (bug #21028) (Thanks Alexey!). Also fixed 80procs.t to allow
'CALL' to be prepared
* Added Philip Stoev's patch for DATA_TYPE date and time columns (bug #23988)
(Thanks Philip!)
* Reworked (for working with 4.0, which doesn't support sqlstate) Philip Stoev's
patch for sqlstate, bug #23935 (Thanks Philip!)
* New Versioning! 4.00 now. This dev tree will now become trunk
* Cleaned up much code that failed between versions (!!!)
* Turned off prepared statements by default
* Tested this with 5.1, 5.0, 4.1, 4.0. Works with ALL these versions!
2006-10-10 Patrick Galbraith <patg@patg.net>, Alexey Stroganov (3.0009_1)
* Added fbind and bind alloc to dbd_st_describe. This was causing a crash
when using with mod_perl
2006-10-10 Patrick Galbraith <patg@patg.net> (3.0008_1)
* Added patch for SSL Verify Certificate (Thanks Eric Chen!)
* Added multiple fixes to dbd_st_prepare which fixed variable overwrite
and unset increment counter. Also improved loop which checks statements
for presence of "LIMIT" by using a pointer as opposed to char array
increment variable. These errors were showing up in OpenBSD and other
Unixen (which I think all BSD-based) (Thanks to Kyle George!)
* Added fix to Makefile.PL to obtain correct build flags on VMS
(Thanks to Eric Milkie!)
* Fixed casting of num_params to unsigned int in calls to NewZ in mysql.xs
2006-10-07 Patrick Galbraith <patg@patg.net>, Jim Winstead <jimw@mysql.com>
(3.0007_2)
* Added UTF8 patch from Dominic Mitchell (Thanks!)
* Fixed declaration of "row" in mysql_st_internal_execute which caused compile
errors on some platforms
* Fix documentation for _ListDBs to remove incorrect information about
limitations of data_sources(). (RT #20843, patch by Ann Barcomb)
* Fix typo in example (missing quote). (RT #15086)
* Mention in POD that 'localhost' always means to connect via UNIX socket,
and 127.0.0.1 must be used for TCP/IP to localhost (RT #14942, reported by
Alessandro Ranellucci)
* Fix typos in Makefile.PL (RT#16178, reported by Gavin Shelley)
2006-09-08 Jim Winstead <jimw@mysql.com>, Patrick Galbraith <patg@mysql.com>
(3.0007_1) (3.0006/3.0006_1 is the same as 3.0005/3.0005_1)
* Make sure to call dbd_st_finish when all rows from a statement handle
have been fetched. (Bug #20153, Bug #21607, RT #20464, RT #21241)
* Patch from Steve Hay to fix bind_param to deal properly with insertion
of a NULL into an INT or DOUBLE column using server-side prepare.
Converted Steve's dbi.pl script to expose this problem to 40bindparam2
test.
* Fix to mysql_st_internal_execute to keep from passing undefined dbh
handle member (bind_type_guessing) to parse_param causing crash on
OpenBSD. Reported on rt.cpan.org (#20868) by Kyle Georg, as well as
info from Sam Smith and Federico Giannici
* Cleaned up tests to make sure test table is dropped at end of test.
2006-06-10 Patrick Galbraith <patg@mysql.com) (3.0005)
* Fix dbd_st_finish in 3.0004 didn't clean up bind buffers resulting in
a memory leak. See eg/prepare_memory_usage.pl to see how this manifests
itself. Thanks to Jason Snell for giving me a good script to reproduce
this!
* Fix to parse_params, mysql.xs dbh->do, and bind_param to deal with
passing substr to "do" for placeholder value. Thanks Martin Waite for
the patch to parse_params (extended to mysql.xs "do" and bind_param for
server-side prepared statements.
2006-05-17 Patrick Galbraith <patg@mysql.com) (3.0004_1)
* Fix dbd_st_finish which closed the handle prematurely (Martin Evans)
* Compile issues (Martin Evans)
* Small change to get utf8 data returned. One still has to:
$dbh->do("set character set utf8");
$dbh->do("set names utf8");
to get utf8 back and even then you only get it back if the
column is defined as utf8 in mysql.
* Fix to dbd_bind_ph to deal with numbers (ints, floats) correctly
(Alexey Stroganov)
* Test changes - bind_param 41 and 42
* Turned off 70takeimp test
2006-04-29 Patrick Galbraith <patg@mysql.com) (3.0003_1)
* Removed old Msql-Mysql Driver emulation code - finally!!!
* Removed aweful string testing code (that I wrote) for unsported
statements and now use mysql_stmt_prepare, if statement not
supported, toggle to mysql_emulated_prepare
* Fixed bug where failed stmt execution caused later statements
to fail with mysql_stmt_reset
* Added tests for unsupported statements
* Added test for test of failed statement with subsequent executes
(thanks to Martin Evans!)
* Added typo fix (Martin Evans)
* Added support for ParamValues and associated test (Martin Evans)
* Removed old emulated driver tests (HOORAY!)
* Cleaned up debug printing code
* Fixed syntax for create table ENGINE=InnoDB instead of type=innobase
* Cleaned up tests
2006-01-31 Patrick Galbraith <patg@mysql.com> (3.0002_5)
* Fixed bugs 15546 (selectcol_arrayref failing on SHOW TABLES)
and 15665, 'USE dbname' failing when driver is not in emulated
prepare mode
2005-10-26 Patrick Galbraith <patg@mysql.com> (3.0002_4)
* Added Guy Harrison's patch for multiple result sets
* Fixed bugs with declarations in middle of functions
* Cleaned up code, rewrote several loops using pointers
instead of iterators
* Rewrote 'SHOW', 'ALTER', 'CALL', 'CREATE' toggling code that turns
off server prepared statements (these calls are not supported)
* Updated documentation
2005-09-28 Patrick Galbraith <patg@mysql.com> (3.0002_3)
* Added code to mysql_st_internal_execute that determines whether the
SV *h is a sth or dbh, and then imports imp_dbh appropriately
2005-09-26 Patrick Galbraith <patg@mysql.com> (3.0002_2)
* Fixed bug in dbd_st_execute where imp_sth was being
imported unecessarily, when only imp_dbh is needed. This caused a
core dump in some cases. Thanks to Andy Maas at Proofpoint for his
execellent detective work!
* Small changes to Makefile.PL to make sure --ps-protocol works as
advertised.
* Updated install.html with current info about prepared statements and FC
RPM/YUM packages.
2005-08-04 Patrick Galbraith <patg@mysql.com> (3.0002_1)
* Prepared statement support is default now. To turn it off
a parameter 'mysql_emulated_prepare' must be turned ON
* Better error handling in mysql_internal_execute_ps (renamed
from mysql_internal_execute41). Also free the result if error -
that could have been a memory bug
* Added a simply 'do' to t/35prepare.test to see if you can turn
off prepared statements in the 'do' call.
* Cleaned up a LOT of cruft. Added more 'caveat' blurbage to old
Mysql.pm lib, which will not work with prepared statements
1.53 Tue Apr 2 03:06:56 UTC 2008
* Fix mysql version check in DistinctQuery function
* Fix order by outer column on Oracle
* Improve tests
1.52 Tue Apr 1 00:48:56 UTC 2008
* Fix order by outer column on SQLite, mysql, adjust Pg. Add test that
cover this.
1.51 Tue Jan 15 22:53:56 UTC 2008
* Fix CountAll method when paging is enabled and data is in memory already
1.50 Fri Nov 23 23:24:00 UTC 2007
* Oracle: Don't DISTINCT query when there is a group by clause
* Fix a problem when we have more then two collections in a union
and some of them are empty
1.49 Sat Jul 7 18:45:41 EDT 2007
* Fix a CPAN signature issue
0.36 Thu Dec 13 17:49:35 PST 2007
- Patch from ISHIGAKI@cpan.org to suppress unnecessary warnings about
undefined local_options, thanks!
- fix bug preventing adding new columns as primary keys under Pg
0.35 Mon Oct 29 18:58:36 PDT 2007
- Fix minor breakage (pretty_print) resulting from Jesse's changes.
- Update mysql driver to handle BIGSERIAL columns
- Update Column.pm, move all mysql and Pg-specific code to DBD driver
callbacks
- Update Table.pm, add local_options
- Fix mysql NULL reverse-engineering and updating code
0.34 Sun Aug 19 10:08:51 PDT 2007
- More work on update schema from Slaven Rezic <srezic@cpan.org>,
thanks!
+ implement table dropping (closes: CPAN#27936)
+ implement column dropping (closes: CPAN#27896)
- Fix to quiet warnings from internal use of old API from Jesse Vincent
<jesse+cpan@fsck.com>, thanks! (closes: CPAN#27958)
- Make table dropping optional, not the default.
0.33 Thu Jun 28 18:46:15 PDT 2007
- Overhaul of index representation: indices (both normal and unique)
now have names and are DBIx::DBSchema::Index objects
- update_schema now handles indices!
- Bump version numbers in Table.pm, Column.pm and DBD.pm
- Pg reverse-engineering fix for column order in multi-column indices,
to prevent needless drop/add of identical indices
- mysql reverse-engineering patch from Brian Phillips
<bphillips@cpan.org>, closes: CPAN#17582, thanks!
- mysql NAME vs NAME_lc patch from Ralf Hack <ralf@beetlecraft.net>,
closes: CPAN#16715, thanks!
- mysql fix for additional column data from Chris Mungall
<cjm@fruitfly.org>, closes: CPAN#20859, thanks!
- SQLite SERIAL patch from IN SUK JOUNG <i.joung@gmail.com>, and fix
for mis-application of said patch from Slaven Rezic
<srezic@cpan.org>, thanks!
- Update README wrt current CVS info and URL, closes: CPAN#27577
0.32 Wed Apr 18 15:02:25 PDT 2007
- increment the version numbers in Column.pm and Table.pm and the
"use" statements accordingly
- Error reporting for load constructor
- Update documentation wrt supported databases and new update_schema
stuff
- Fixes for dropping nullability on old Pg (<= 7.2)
- Fixes for adding nullability on old Pg (<= 7.3)
- Throw a warning if pg_server_version is unavailable, assume >= 7.3
- fix POD error in DBSchema::DBD::SQLite that confused pod2man and
prevented the documentation from being installed. Patch from Niko
Tyni <ntyni@iki.fi>, thanks!
databases/sqsh
databases/sqsh-motif
databases/sqsh-x11
The latter two are now just databases/sqsh built with a specific set of
options. Changes include:
+ Add options.mk that supports three options:
sqsh-motif Motif GUI
sqsh-xaw Athena GUI
sybase-openclient Use real Sybase
Note that USE_SYBASE_OPENCLIENT is a legacy variable for the new
global "sybase-openclient" option.
+ Remove Makefile.common and move all logic into sqsh/Makefile and
sqsh/options.mk.
+ Remove section in patch-aa that tried to deal with termcap/curses
issues for readline. That is now automatically taken care of in
pkgsrc through termcap.buildlink3.mk, which is included here
indirectly by readline/buildlink3.mk.
+ Add full DESTDIR support.
+ Bump the PKGREVISION for sqsh, sqsh-motif and sqsh-x11 to 5. All
three packages now track and use the same PKGREVISION number.
changes: many fixes, improvements and API extensions, see
http://www.jcea.es/programacion/pybsddb.htm
pkgsrc note: 'egg' (setuptools) support was added upstream, but
disabled in pkgsrc because it leads to nondeterministic results
depending on OS version and installed pkgs
Changes:
* doc/rrdcreate.pod, doc/rrdgraph.pod, doc/rrdgraph_graph.pod,
doc/rrdgraph_rpn.pod, doc/rrdtutorial.pod: fixes for better web
rendering
* COPYRIGHT: added ZPL 2.1 to floss exception
* src/rrd_graph.c, trunk/program/src/rrd_graph.c: fixed parsing of
fontnames with embeded spaces
* bindings/tcl/tclrrd.c, configure.ac, src/rrd_cgi.c: * fix fadvice
and madvice inclusion ... again * fix rrdcgi warning * fix
warnings in tcl bindings -- Peter Breitenlohner peb mppmu.mpg.de
* src/rrd_graph.c: weekday and time are too tight
* configure.ac: fixing the solaris build
* netware/Makefile, src/rrd_update.c, win32/Makefile: updates for
netware and mingw32 ... allows for crosscompilation
* src/rrd_update.c: make update compile for mingw32 3.4.5
* bindings/perl-shared/Makefile.PL, configure.ac, src/rrd_tool.h,
src/rrd_update.c: * improve portability of compile environment to
netbsd and solaris
databases/ruby-sequel as of version 1.4.0.
+ Update dependencies for www/thoth and www/merb-sequel to reflect
removal of ruby-sequel-model -- use ruby-sequel instead. Bump the
PKGREVISION for these two packages.
+ Add patch-aa and patch-ab which are changes pulled from upstream to
allow the creation of new records that don't have a primary key when
the cache is on.
* Merge ``sequel_model'' into ``sequel''.
* Eager loading for all types of associations.
* One-to-many associations now populate the corresponding many-to-one
instance variable (even when eagerly loaded).
* ActiveRecord style has_many :through associations are now supported
via many_to_many. many_to_many will no longer select the entire result
set, just the columns of the associated table (and not the join table),
so it works for both has_and_belongs_to_many (simple join table) and
has_many :through (join table model) scenarios.
0.768 (02.25.2008) - John Siracusa <siracusa@gmail.com>
* Changed mailing list and wiki URLs.
* Fixed the "warn" overflow mode for character columns to carp
instead of croaking. (Reported by John Ingram)
* Refined workaround for http://rt.cpan.org//Ticket/Display.html?id=33193
to apply only to versions that exhibited this bug.
* Added the forget_related() helper method to the "all" export tag.
0.767 (02.15.2008) - John Siracusa <siracusa@gmail.com>
* Added the forget_related() helper method.
* Enhanced and documented the long-dormant "hints" Manager parameter.
* Added a work-around for a DBD::Pg 2.0.0 array/bind_col() bug:
http://rt.cpan.org//Ticket/Display.html?id=33193
* Improved the column method handling for array-reference values
that may be fetched from array columns by DBD::Pg 2.0.0.
* Fixed a bug in the test suite that caused some Postgres tests
to fail if the "chkpass" column type was not installed.
(Reported by Randal Schwartz)
0.7665 (02.08.2008) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that prevented the convention manager's auto_table_name()
method from honoring the tables_are_singular() attribute value.
(Reported by Ben Tilly)
* The new, more correct behavior of Rose::DB 0.739's array column
value parsing and formatting revealed a bug in QueryBuilder's
handling of "(any|all)_in_array" conditions involving empty list
arguments. This is now fixed.
0.7664 (02.06.2008) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that caused boolean columns to be incorrectly marked as
modified. (Reported by Grzegorz Nosek)
* Added sql_qualify_column_names_on_load() Metadata method to help
support Postgres functions that can masquerade as columns if they're
prefixed by the table name. (Suggested by Grzegorz Nosek)
0.7663 (02.04.2008) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that caused delete_on_save method creation for foreign
keys to fail in some circumstances. (Reported by Justin Ellison)
* Fixed a bug that prevented Perl code from being emitted for
non-set columns with check_in attributes. (Reported by Sam Tregar)
* Pushed cache control methods down into Rose::DB::Object::Cached
in preparation for more caching subclasses.
* The clear_object_cache() method now correctly clears load timestamps
as well. (Patch by Justin Ellison)
0.7662 (01.30.2008) - John Siracusa <siracusa@gmail.com>
* Fixed copy-and-paste-o in Rose::DB::Object::Cached code.
0.7661 (01.29.2008) - John Siracusa <siracusa@gmail.com>
* Fixed method clash detection in Rose::DB::Object::Manager.
* Streamlined caching implementation in Rose::DB::Object::Cached.
0.766 (12.13.2007) - John Siracusa <siracusa@gmail.com>
* Added the unique_key_by_name() metadata method.
* Added the ability to do unrestricted joins in some circumstances.
* Added the remember_all() class method to Rose::DB::Object::Cached.
* Added the undef_overrides_default column attribute.
* The key_column() method in the ForeignKey class now works correctly.
(Patch by Christopher Masto)
* Further synced datetime and timestamp method-maker code.
* Added a test suite exclusion for DBD::SQLite 1.14, which still suffers
from this bug: http://rt.cpan.org/Public/Bug/Display.html?id=21472
* Improved detection of fatal errors during class setup.
* Added a "gotchas" section to the Loader documentation.
* Fixed propagation of db objects in update and delete Manager methods.
* Fixed a bug that caused some cached SQL to persist incorrectly after
inheritance. (Patch by Daniel Koch)
* Fiddled with not_found() detection. (Changes suggested by Philip Dye)
* Made one-to-one relationships (attempt to) work even when uniqueness is
not apparent in the metadata.
* The Loader no longer chokes on SQLite columns that use the
current_timestamp keyword. (Reported by George Hartzell)
* Setting undef integer attributes to zero is now correctly detected
as a modification.
0.765 (07.21.2007) - John Siracusa <siracusa@gmail.com>
* Added a value_type attribute to SET columns.
* Added a normalize_get_objects_args() utility method to make
custom Manager methods less cumbersome to implement.
* Setting a BigInt column to undef no longer sets it to zero.
(Reported by Jeffrey Horn)
* Corrected error propagation in many-to-many "find" methods when bad
arguments are passed. (Reported by Michael Reece)
* Added "use strict" the output of perl_manager_class().
* Restored default use of table aliases in Manager queries. The new
table_aliases parameter can be used to alter the behavior.
* Added support for literal sort_by parameters using scalar references.
* Added is/is_not comparison operators to QueryBuilder. (Suggested by
Jonathan Vanasco)
* Scalar references appearing in the select => ... list in Manager calls
are now passed through unmodified.
* Existing map records are now correctly checked for when adding items
through a many-to-many relationship. (Reported by Drew Taylor)
* Using a nonexistent column name in a primary or unique key is now a
fatal error. (Reported by Philip Dye)
* Multi-columns "select count(distinct ...)" queries now fall back to
count(*) on a subselect in databases that do not support calling count
on multi-argument distinct clauses. (Reported by Derek Watson)
* The auto-init system will now skip Postgres functional indexes when
extracting unique keys. (Reported by Jonathan Vanasco)
* Fixed a bug that caused inner joins to be used inappropriately in
certain cases with many-to-many relationships or when nested joins
are disabled.
* Fixed a bug that caused the auto-init system to fold multiple foreign
keys that reference the same remote key into a single multi-column
foreign key. (Reported by Marlon Bailey)
* Fixed a Manager bug that caused count queries to use incorrect
table aliases when passed empty with_objects or require_objects
array reference values. (Reported by Denis Moskowitz)
* Fixed a bug that prevented relationship and foreign key names from
being resolved when used in nested query parameters.
* Relationship count methods no longer die when the count is zero.
(Reported by Derek Watson)
* Setting enum fields to undef now works correctly. (Reported by Ovid)
* Columns with custom DBI bind attributes are now updated correctly.
(Reported by Derek Watson)
* Epoch columns with zero (0) default values now work correctly.
(Reported by Peter Karman)
* Setting boolean columns to null (undef) now works correctly.
(Reported by Derek Watson)
* Fixed a bug that caused literal query parameters with bind arguments
to become corrupted after their first use.
* Changed the way classes are registered in order to fix a Loader bug
that caused cross-database foreign keys to be erroneously created
when tables with the same names exists in two different databases.
(Reported by Adrian Howard)
* Deleting one-to-one related objects on save now works correctly.
(Reported by Ovid)
* The "find" method for many-to-many relationships now propagates custom
Manager arguments correctly. (Patch by Michael Reece)
* The use_key parameter to load() now dies if an invalid key is passed.
(Reported by Jonathan Vanasco)
0.741 (02.25.2008) - John Siracusa <siracusa@gmail.com>
* Changed mailing list URLs.
0.740 (02.15.2008) - John Siracusa <siracusa@gmail.com>
* Added support for Rose::DB::Object 0.767's new hints features.
0.739 (02.08.2008) - John Siracusa <siracusa@gmail.com>
* Caching of db objects during mod_perl server start-up is now turned
off by default, with new API to turn it back on and do the necessary
pre-fork clean-up that this entails. This change solved a segmentation
fault problem triggered in DBD::Informix when database handles created
in the parent were not properly disconnected prior to the first fork of
the apache process.
0.738 (02.06.2008) - John Siracusa <siracusa@gmail.com>
* The Informix INT8 column type is now detected and mapped to "bigint"
on behalf of Rose::DB::Object.
* Fixed a bug that prevented format_array() and parse_array() from
correctly handling arrays containing undef or NULL, respectively.
(Reported by Derek Watson)
0.737 (12.13.2007) - John Siracusa <siracusa@gmail.com>
* Altered the behavior of connect() and disconnect() to account
for the possibility that dbi_connect() may return a DBI $dbh
that is already connected and has already been initialized.
* Added optional (on by default) coercion of column type metadata
from (big)int auto-increment to (big)serial for MySQL and SQLite.
* Added support for the current_timestamp keyword to SQLite.
* Added a dozen or so new MySQL connection attributes that must be
inlined into the DSN rather than passed as connect() options.
0.736 (11.13.2007) - John Siracusa <siracusa@gmail.com>
* Added new_or_cached() method and associated caching framework.
* Added dbi_connect() method. (Patch by Peter Karman)
* Removed mistakenly checked in breakpoint.
0.735 (07.21.2007) - John Siracusa <siracusa@gmail.com>
* Improved parsing of SET values.
* Fixed the test suite's detection of the broken DBD::SQLite 1.13.
* Fix character string comparison for Windows locales that consider
different character combinations as equal
* Repair potential deadlock between concurrent "VACUUM FULL"
operations on different system catalogs
* Fix longstanding "LISTEN"/"NOTIFY" race condition
* Disallow "LISTEN" and "UNLISTEN" within a prepared transaction
* Disallow dropping a temporary table within a prepared transaction
* Fix rare crash when an error occurs during a query using a hash
index
* Fix memory leaks in certain usages of set-returning functions
* Fix input of datetime values for February 29 in years BC
* Fix "unrecognized node type" error in some variants of "ALTER
OWNER"
* Ensure pg_stat_activity.waiting flag is cleared when a lock wait is
aborted
* Fix handling of process permissions on Windows Vista
* More...
* Fix character string comparison for Windows locales that consider
different character combinations as equal
* Repair corner-case bugs in "VACUUM FULL"
* Fix misbehavior of foreign key checks involving character or bit
columns
* Avoid needless deadlock failures in no-op foreign-key checks
* Fix possible core dump when re-planning a prepared query
* Fix possible failure when re-planning a query that calls an
SPI-using function
* Fix failure in row-wise comparisons involving columns of different
datatypes
* Fix longstanding "LISTEN"/"NOTIFY" race condition
* Disallow "LISTEN" and "UNLISTEN" within a prepared transaction
* Disallow dropping a temporary table within a prepared transaction
* Fix rare crash when an error occurs during a query using a hash
index
* Fix incorrect comparison of tsquery values
* Fix incorrect behavior of LIKE with non-ASCII characters in
single-byte encodings
* Disable xmlvalidate
databases/ruby-sequel-model.
Sequel is a database access toolkit for Ruby. Sequel provides thread
safety, connection pooling, and a concise DSL for constructing queries
and table schemas.
Sequel makes it easy to deal with multiple records without having to
break your teeth on SQL.
Sequel is a database access toolkit for Ruby. Sequel provides thread
safety, connection pooling, and a concise DSL for constructing queries
and table schemas.
Sequel makes it easy to deal with multiple records without having to
break your teeth on SQL.
Sequel is a database access toolkit for Ruby. Sequel provides thread
safety, connection pooling, and a concise DSL for constructing queries
and table schemas.
Sequel makes it easy to deal with multiple records without having to
break your teeth on SQL.
version 0.7.1 include:
+ Install as a Ruby gem.
- Aliases to make it easier for ActiveRecord to support both ruby-pg
(the successor to ruby-postgres) and ruby-postgres.
- Fix connections to PostgreSQL>8.2.
DataMapper is a Object Relational Mapper written in Ruby. The goal
is to create an ORM which is fast, thread-safe and feature-rich with
ActiveRecord-compatibility.
databases/ruby-activerecord-odbc.
Data adapter for ODBC-accessible databases such as Oracle, Informix,
Ingres, OpenLink Virtuoso, SQL Server, Sybase, MySQL, PostgreSQL, DB2,
Firebird, Progress, and others, providing consistent behaviour to
ActiveRecord.
Bump PKGREVISION, because the package will gladly build and install
without p5-version, it just won't actually work unless p5-version is
available both at build time and at run time.
2.2.2
- Add parse_trace_flag as statement handle method.
2.2.1
- Fixed memory leaks in dbdimp.c
- Fixed strlen problems in dbdimp.c
- Change local trace_flags to lowercase.
2.1.0
- Add PERL_NO_GET_CONTEXT #define to improve performance on threaded Perls
- Raise the minimum DBI version to 1.52.
- Allow arrayrefs into bind_col
2.0.0
- Make minimum supported server 7.4.
- Overhaul COPY functions: deprecate pg_getline, pg_putline,
and pg_endcopy. The new functions are pg_getcopydata,
pg_getcopydata_async, pg_putcopydata, and pg_putcopyend.
- Add support for arrays: can pass in arrayrefs to execute, and
they are automatically returned as arrays when fetching.
- Add support for asynchronous queries.
- Allow raw transaction statements through - in other words,
do not croak if $dbh->prepare("COMMIT") is attempted.
- Check transaction status after each command, to allow
things such as 'PREPARE TRANSACTION' to work properly.
- Add $dbh->{pg_placeholder_dollaronly} to allow '?' and other symbols
to be used in prepared statements without getting interpreted as
placeholders, i.e. the geometric operator '?#'
- Fix memory leak in bytea quoting.
- Fix memory leak in pg_notifies.
- Fix memory leak when using savepoints.
- Use adbin, not adsrc, when figuring out the sequence name for the
last_insert_id() method. This allows the function to work properly
if the sequence name is changed. Note that {pg_cache=>0} should be
passed to the function if you expect this might happen.
- Use unsigned chars when parsing passed-in queries, preventing UTF-8
strings from ruining the prepare. UTF-16 may still cause problems.
- Fix crash when executing query with two placeholders side by side.
- Skip item if no matching key in foreign_key_info.
- Fix bug in last_insert_id.
- Fix pg_description join in table_info().
- Make sure arrays handle UTF-8 smoothly.
- Force column names to respect utf8-ness.
- Make sure array items are marked as UTF as needed.
- Force SQL_REAL and SQL_NUMERIC to be float8 not float4.
- Allow objects with stringification overloading to work with quote().
- Switch from pow to powf to support AIX compiler issue.
- Add three new columns to column_info, to return unquoted
version: pg_schema, pg_table, and pg_columns. Add all
three to primary_key_info, and the first two to table_info.
- Change $dbh->{User} to $dbh->{Username}
- Change $dbh->{Name} to return the entire DSN string, minus the
'dbi:Pg:' part.
- Allow data_sources to accept optional arguments.
- Add private_attribute_info() method.
- Add SQL_INTERVAL and others to types.c
- Added statistics_info function
- Be much more flexible in test connection options.
- Overhaul test suite, allow tests to be run individually.
- Quick support for named trace level 'SQL'
- Very experimental support for bind_param_inout, use with caution.
the termcap libraries. Including termcap.buildlink3.mk (indirectly
through including readline/buildlink3.mk) will do the right thing.
+ Remove readline dependency from Makefile.common and add it into
mysql5-client/Makefile. Only the -client package needs and uses
readline. The -server package only "needs" it to placate the
configure script, but none of its installed binaries are linked
against it.
+ Add full DESTDIR support to the -client and -server packages.
Bump the PKGREVISION of mysql5-client to 3.
The PKGREVISION of mysql5-server remains unchanged since there are
no user-visible changes to the binary package.
+ Remove explicit naming of "-lncurses -ltermcap" as the way to get
the termcap libraries. Including termcap.buildlink3.mk (indirectly
through including readline/buildlink3.mk) will do the right thing.
+ Remove readline dependency from Makefile.common and add it into
mysql4-client/Makefile. Only the -client package needs and uses
readline. The -server package only "needs" it to placate the
configure script, but none of its installed binaries are linked
against it.
+ Add full DESTDIR support to the -client and -server packages.
Bump the PKGREVISION of mysql4-client to 3.
The PKGREVISION of mysql4-server remains unchanged since there are
no user-visible changes to the binary package.
With significant new functionality and performance enhancements, this
release represents a major leap forward for PostgreSQL. This was made
possible by a growing community that has dramatically accelerated the
pace of development. This release adds the following major features:
* Full text search is integrated into the core database system
* Support for the SQL/XML standard, including new operators and an
XML data type
* Enumerated data types (ENUM)
* Arrays of composite types
* Universally Unique Identifier (UUID) data type
* Add control over whether NULLs sort first or last
* Updatable cursors
* Server configuration parameters can now be set on a per-function
basis
* User-defined types can now have type modifiers
* Automatically re-plan cached queries when table definitions change
or statistics are updated
* Numerous improvements in logging and statistics collection
* Support Security Service Provider Interface (SSPI) for
authentication on Windows
* Support multiple concurrent autovacuum processes, and other
autovacuum improvements
* Allow the whole PostgreSQL distribution to be compiled with
Microsoft Visual C++
2008 Feb 6 (3.5.6)
* Fix a bug ( ticket #2913) that prevented virtual tables from working
in a LEFT JOIN. The problem was introduced into shortly before the
3.5.5 release.
* Bring the OS/2 porting layer up-to-date.
* Add the new sqlite3_result_error_code() API and use it in the
implementation of ATTACH so that proper error codes are returned when
an ATTACH fails.
2008 Jan 31 (3.5.5)
* Convert the underlying virtual machine to be a register-based machine
rather than a stack-based machine. The only user-visible change is in
the output of EXPLAIN.
* Add the build-in RTRIM collating sequence.
2007 Dec 14 (3.5.4)
* Fix a critical bug in UPDATE or DELETE that occurs when an OR REPLACE
clause or a trigger causes rows in the same table to be deleted as
side effects. (See ticket #2832.) The most likely result of this bug
is a segmentation fault, though database corruption is a possibility.
* Bring the processing of ORDER BY into compliance with the SQL standard
for case where a result alias and a table column name are in conflict.
Correct behavior is to prefer the result alias. Older versions of
SQLite incorrectly picked the table column. (See ticket #2822.)
* The VACUUM command preserves the setting of the legacy_file_format
pragma. ( Ticket #2804.)
* Productize and officially support the group_concat() SQL function.
* Better optimization of some IN operator expressions.
* Add the ability to change the auto_vacuum status of a database by
setting the auto_vaccum pragma and VACUUMing the database.
* Prefix search in FTS3 is much more efficient.
* Relax the SQL statement length restriction in the CLI so that the
".dump" output of databases with very large BLOBs and strings can be
played back to recreate the database.
* Other small bug fixes and optimizations.
2007 Nov 27 (3.5.3)
* Move website and documentation files out of the source tree into a
separate CM system.
* Fix a long-standing bug in INSERT INTO ... SELECT ... statements where
the SELECT is compound.
* Fix a long-standing bug in RAISE(IGNORE) as used in BEFORE triggers.
* Fixed the operator precedence for the ~ operator.
* On win32, do not return an error when attempting to delete a file that
does not exist.
* Allow collating sequence names to be quoted.
* Modify the TCL interface to use sqlite3_prepare_v2().
* Fix multiple bugs that can occur following a malloc() failure.
* sqlite3_step() returns SQLITE_MISUSE instead of crashing when called
with a NULL parameter.
* FTS3 now uses the SQLite memory allocator exclusively. The FTS3
amalgamation can now be appended to the SQLite amalgamation to
generate a super-amalgamation containing both.
* The DISTINCT keyword now will sometimes use an INDEX if an appropriate
index is available and the optimizer thinks its use might be
advantageous.
The new version fixes several bugs including the cross site scripting
vulnerability reported in PMASA-2007-8 and the SQL inject vulnerability
report in PMASA-2008-1.
+ Put documentation under ${PREFIX}/share/doc instead of
${PREFIX}/share/doc/html. Packages that install documentation under the
"html" directory are supposed to move them to the "doc" directory when
they're updated, but these packages are basically EOL'ed so just move
them now.
+ Add full DESTDIR support.
Bump the PKGREVISION of databases/db to 3 and databases/db3 to 4.
Patch provided by Mark E. Perkins in PR 38050.
While here, marked as DESTDIR ready.
0.33 17th January 2008
* Added failchk, set_isalive, lock_stat_print & mutex_stat_print.
Patch provided by Thomas Busch.
0.32 10th July 2007
* Updates to support Berkeley DB 4.6
* Remove all global static data from BerkeleyDB.xs.
- 0.35 | 2008-02-13
- Bugfix: composition INTERSECT in `parse+make-SELECT-tree'
This proc, in module (database postgres-qcons), used to
erroneously accept #:intersection and emit "INTERSECTION".
Now, it accepts #:intersect and emits "INTERSECT".
- New (database postgres) procs
- pg-escape-string-conn
- pg-escape-bytea-conn
- pg-unescape-bytea
- Tested against PostgreSQL 7.4.19
- When administrate users on mysql servers >= 4.0 the max_updates/queries/
connections settings will reflected.
- fixes for building with gcc 4
- fixes for mysql lib > 4.1
- Integrated a compact layout where the non-modal windows are part of main
window
- Setting up a new more compact table browser widget
* Added support for GTK+ 2.x
* Fixed long mutex lock on connect
* Fixed problems with SQLBrowseConnect
* Fixed missing functions in export list
* Fixed core dump when checking for driver odbc version
* Fixed allocation error in SQLDescribeCol
* Fixed rpm specification for RedHat
* Fixed porting problems on FreeBSD, OpenBSD and OSF
* Use SQLFetchScroll in iodbctest
* Add missing SQLSetStmtOptionA and SQLSetStmtOptionW
* The config string being passed into ConfigDsn was wrong, removed
semicolon, and added terminating double null
* Add help help to isql
* Couple of changes to make the build on OSX work better
* Alter odbctest FullConnect to use SQLDriverConnect
* Replace a missed flag for true 64 bit operation
* Add ODBC3<->ODBC2 type mapping in SQLSetParam
* Add missing SQLSetStmtOptionW.c
* Tidy up the search for GUI lib code in SQLManageDatasource
* Backport a couple of changes from the Debian build into the
cursor lib
* Add extra config settings to the MaxDB/SapDB setup lib
* Fix possible exit from SQLConnect without having closed
in the driver
* Fix configure problem on Tru64
* Fix a build issue on Sinix
* Allow calling metadata functions via the cursor lib
* Alter args to SQLParamOptions
* Fix bug preventing attribute length from being returned from
SQLDrivers
* Fix broken iusql
* more...
changes:
-fixes for several database corruption issues and crashes
-fixes for Gedcom, ANSEL and XML import/export issues
-translation updates
-various small fixes to several reports
shared-mime-info 0.23 (2007-12-18)
* Mime-type Changes:
- Add QTIF QuickTime image
- Add SDP stream description
- Add Vala source file
- Add Atom feed, OPML
- Add SAMI, MicroDVD, MPSub, SSA subtitles
- Add audio/x-m4b as a sub-class of audio/mp4
- Add *.aac as a suffix for MPEG-4 audio files
- Add Compressed Flash detection, add FutureSplash support
- Add *.asc as a suffix for PGP armoured keys
- Add application/msword as a sub-class of application/x-ole-storage
- Don't associate *.htm and *.html to Mozilla bookmarks
- Add more aliases for PowerPoint and Word mime-types
- Add *.vlc as a suffix for m3u files
- Better magic for Word and Office documents
- Split Windows Media Station playlists from ASX ones
- Fix up JPEG 2000 mime-types
* Other:
- Add a testsuite in the CVS tree
- Fixed problem with DDL SCRIPT parser where C-style comments were
not being processed properly
- Added stored functions and documentation for adding empty tables
(notably *partitions*) to replication. Note these functions
do no work when not specifically requested.
- Added a fairly substantial partitioning test to exercise the
new stored functions above.
- Backport "listen path" generator function from CVS HEAD (2.0) to
1.2 branch.
- Fixed a problem with "EXECUTE SCRIPT" (introduced in remote_worker.c
version 1.124.2.13) where moving the relevant code into a subroutine
at the end led to losing the "BEGIN; SET TRANSACTION ISOLATION LEVEL
SERIALIZABLE;" query that needs to be the first thing run...
- Fixing the archive sequence generations (in log shipping). All
non-SYNC events must start the local transaction before creating the
archive as well, so that the lock on the archive counter table
serializes archive creation.
- Fixed logging done in local_listener.c - various places, there was
no '\n' in some cases, which would lead to entries being folded
together.
- Fix launch_slons.sh - was not stripping quotes from PID file name
- Error handling for "ERROR: could not serialize access due to
concurrent update"
- Fixes to slonik_build_env script - it wasn't properly handling
cases where there was just 1 table or 1 sequence, and had a
problem with the -schema option - thanks, Bernd Helmle
support, reported via PR pkg/37745 ).
OpenLDAP 2.4.x brings a lot of new features, including multi-master support,
dynamic configuration and schema changes, automatic reverse group membership,
significant performance improvements, etc. One of the most noticeable changes
for administrators though is the removal if the slurpd daemon (in favour of
the sync replication mechanism). Users of slurpd replication should migrate
to sync replication before upgrading to OpenLDAP 2.4.x.
* Fix a bug where mutex contention in database environments configured for
hybrid mutex support could result in performance degradation.
* Fix a bug where closing a database handle after aborting a transaction
which included a failed open of that database handle could result in
application failure.
* Fix multiple MVCC bugs including a race which could result in incorrect
data being returned to the application.
* Fix a bug where a database store into a Hash database could self-deadlock
in a database environment configured for the Berkeley DB Concurrent Data
Store product and with a free-threaded DB_ENV or DB handle.
* Fix an installation bug where Berkeley DB's PHP header file was not installed
in the correct place.
Bug fixes:
* fixed simple bind with a patch from Pawel Salek (fixes 1753419)
Changes 1.2.2:
Bug fixes:
* fixed a crash when loading the state file on BSD systems (patch from the
NetBSD people)
* make command line argument handling more robust
Changes 1.2.1:
Build Improvements
* fixed a bash expression
Version 8.0-321 (2007-12-02)
* fix Make code that parses queries for updateable resultsets
aware of the ONLY clause. (jurka) Thanks to Oleg Vasylenko.
* fix While custom type maps are not implemented, the code to
detect the caller trying to use them threw a ClassCastException.
Correctly detect the attempted use of custom types and bail
out with a SQLException. (jurka)
Version 8.0-320 (2007-07-31)
* add Make setObject recognize a parameter of type java.lang.Byte.
(jurka) Thanks to Boom Roos.
* fix Updatable ResultSets did not work when updating bytea
data and then retrieving it because we send the data to the
server in binary format, but the ResultSet was expecting to
read it in text format. So we need to convert the data from
binary to text format before stuffing it into the ResultSet.
(jurka) Thanks to Mikko Tiihonen.
* fix Do escape processing on batch Statements prior to execution.
This already worked for PreparedStatements, but not plain
Statements. (jurka) Thanks to Hui Ye.
* fix When retrieving the columns of a function that returns
a complex type, don't retrieve system columns (like xmin/xmax/...)
that you'll find if the type is from a table. (jurka)
* fix Error message was reporting the wrong parameter type
value in the V3 protocol's SimpleParameterList implementation.
(jurka) Thanks to Nathan Keynes.
* fix Explicitly state which source level we are compiling.
Newer versions of gij/gcj run a 1.5 VM, but default to a 1.4
source level compile which tricks up our build system. This
still doens't fix the case of running with a newer VM than
compiler, but I don't see what we can do about that. (jurka)
Thanks to Tom Lane, Oliver Jowett.
Version 8.0-319 (2007-04-18)
* add Implement ResultSet.updateArray by simply mapping it to
updateObject which now works for arrays. (jurka)
* fix Produce the timezone that we send to the server in the
same format that we can parse. This is important for updatable
ResultSets as we must be able to parse the format we produce.
(jurka) Thanks to Leon Do.
* fix Allow updatable ResultSets to update arrays. (jurka)
Thanks to Vasylenko.