* Fix a bug in version 3.6.12 that causes a segfault when running a count(*)
on the sqlite_master table of an empty database.
* Fix a bug in version 3.6.12 that causes a segfault that when inserting into
a table using a DEFAULT value where there is a function as part of the
DEFAULT value expression.
* Fix data structure alignment issues on Sparc.
* Other minor bug fixes.
- Updating package for p5 module DBD::Pg to 2.13.0
- Set license to artistic-2.0
- Add p5-DBI to DEPENDS (according to META.yml)
Upstream changes:
2.13.0 Released April 13, 2009
- Ensure we always set sqlstate inside of pg_st_prepare_statement
(CPAN bug #44732) [rweikusat@mssgmbh.com]
- When libpq has a connection error, return SQLSTATE 08000 ( "CONNECTION EXCEPTION" )
instead of the more generic 02000 ( "DATA EXCEPTION" ) (CPAN bug #44744)
[rweikusat@mssgmbh.com]
- Fix minor Perl::Critic nags (CPAN bug #44704) (Debian #bug 521969) [GSM]
- Clarify change of $dbh->{Name} behavior (CPAN bug 44985) [GSM]
This plugin provides a SQL::Abstract search method for Class::DBI.
It is similar to Class::DBI::AbstractSearch, but allows you to
search and sort by fields from joined tables.
Note: When searching and sorting by the fields of the current class
only, it is more efficient to use Class::DBI::AbstractSearch.
Class::DBI::Plugin is an abstract base class for Class::DBI plugins.
Its purpose is to make writing plugins easier. Writers of plugins
should be able to concentrate on the functionality their module
provides, instead of having to deal with the symbol table hackery
involved when writing a plugin module. Only three things must be
remembered:
1. All methods which are to exported are given the "Plugged"
attribute. All other methods are not exported to the plugged-in
class.
2. Method calls which are to be sent to the plugged-in class
are put in the init() method. Examples of these are set_sql(),
add_trigger() and so on.
3. The class parameter for the init() method and the "Plugged"
methods is the plugged-in class, not the plugin class.
Pkgsrc changes:
o Add perl>=5.10 as an alternative to p5-version
Upstream changes:
0.53 Wed Mar 25 15:27:03 EDT 2009
- Major bugfixes:
* On rollback, flush the record cache. This fixes a bug when SQLite
reuses primary keys after rollback, and thus the record cache is
wrong.
* Apply filters to "default is ..." values, so "is boolean, default is
0" works on postgres, for instance
* $self->_new_collection_args is passed to the ->new constructor of a
collection, not its ->new_item method
- Performance fixes:
* Don't call accessor twice when we have values around
* Don't create temporary variables we don't need around, just return
* Optimize for the case when there are no output filters
* Play with self/class only when passed argument is not a reference
* In _do_search, separate prefetch and non-prefetch paths; the latter
is a much tighter loop
* Refactor first pass over results in prefetch path
* Move a ->new_item call where we only need it
* Jifty::DBI::Handle::SQLite - LOWER() in SQLite is expensive; it's
easier just put COLLATE NOCASE on the column side. Bump DBD::SQLite
to 1.14 which gives us COLLATE NOCASE.
* Cache on record table, not record class so subclasses also get
cached correctly. If the data in the underlying table changes,
regardless of the class you're using, you want to load the new data.
* Refactor _qualified_record_columns
* call ->table for defaulting only when we actually want defaulting
* Selay some method calls when possible in limit
* Minor refactoring of _get_alias
* grep before looping to loop over fewer values in load_from_hash
* Cache load attempts in new_item in a local static cache
* Cache filter class load attempts in _apply_filters
* Save some slow Class::Accessor calls in Jifty::DBI::Filter
* Stick aliases into COLUMNS as well, for faster lookup
* Provide a faster load_from_hash for when we're being called from
do_search
- Datetime fixes:
* _formatter is *inheritable* class data. If it happens to get set by
the DateTime filter before getting set by one of its subclasses (the
Date and Time filters), than it is stuck on the DateTime _formatter
setting because the subclasses don't override it. There are a
couple solutions, the simplest being to check the value of _strptime
and update/override _formatter if it is different, which is what
I've done here. (This may not be the most optimized solution.)
* Require Time::Duration::Parse 0.06 to win us decimal durations like
1.5h
* Fix a broken regex that just happened to work because we only fed it
correct data
* Add date_only method in date and datetime filters
* For date-only timestamps, set hour, minute, and second to zero
* Include the datetime string we're trying to decode in parse failure
cluck
* Use DateTime's strptime since we don't want additional logic
- Documentation fixes:
* Minor POD improvement for debian lintian in Jifty::DBI::Column
* Adding an example of open_paren/close_paren and limit subclause.
* Added documentation for "IS" on limit().
* Additional docs for load_by_cols
* Update record_class' docs
- Minor bugfixes:
* Perltidy, primarily for indentation fixes
* Update copyright year to 2009
* collections can now clear_order_by
* requires('perl' => '5.8.3') confuses M:I. the "correct" incantation
is perl_version('5.8.3')
* Add the ability to unload columns and prefetched values
* Use $args{'collection'}->limit instead of
$self->Jifty::DBI::Collection::limit so we don't break
* We accept IN or = as operators for array ref. values, so match
against that (and do it case insensitively to boot)
* Allow validators to get extra arguments
* Storable with non-bytea is OK if we base64
* add double naming schema for record references, using name, name_by
* fixed situation with 'column X_not_id refers_to M by "not_id"'
* Aliases should be virtual
* When we have group_by, the first column may not be enough to
distinctify the rows. But since they're grouped, they're all
distinct by definition.
* turn _handle _is_limited rows_per_page into accessors
* Clean out fetched when we load_from_hash
* Pass arguments database_Version to the super method
* Don't chomp Collection or s if prev character is ':', die instead,
it can happen for annon collections based either on JDBI::Collection
or J::Collection
* No need to setup the pager, its constructor does that for us;
actually it's really questionable that we need to setup pager when
there is no paging by default
* Don't optimize left joins on mysql 5.0 and newer, may be other DBs
can drop this too
* $caller->COLUMNS should not contain virtual methods from plugins
* Add "raw value" internal values
* Plugin import must not call ->columns which causes incorrect
caching.
Pkgsrc changes:
o Add p5-Class-C3, p5-Class-C3-XS, and p5-MRO-Compat as dependencies
Upstream changes:
0.23 Sun Mar 8 20:30:02 GMT 2009
- Kill a couple of warnings (one due to MRO::Compat)
0.22 Tue Mar 3 15:54:19 UTC 2009
- Fix oddly formatted error message.
- Doc patch to clarify generated classes
- Switch to use_namespaces and InflateColumn::DateTime for create=static
by default, with backcompat
- Switch to MRO::Compat from NEXT
- Add support for extra Schema::Loader options such as db_schema and
components
- updating module to 1.12.0
Upstream changes:
2.12.0 Released March 28, 2009
- Change large object interface from lo_* to pg_lo_* and make them accessible
via direct $dbh calls (e.g. $dbh->pg_lo_import instead of $dbh->func(..,'pg_lo_import').
The use of $dbh->func(... 'lo_*') is deprecated. [GSM] (CPAN bug #44467)
- Throw an exception for large_object functions called when AutoCommit is on,
but allow pg_lo_import and pg_lo_export to work. Reported by Kynn Jones.
[GSM] (CPAN bug #44461)
- Fix a memory leak when parsing returned arrays. Reported by B~A!lint Szilakszi.
[GSM] (CPAN bug #44225)
- Do proper dequoting of boolean arrays [Armando Santos, GSM] (CPAN bug #43768)
- Use pg_get_expr in column_info when available [Adam Sj~A,gren]
- Fix minor bugs in POD docs. [Frank Wiegand] (CPAN bug #44242)
- Fix minor bug in POD docs. [Tim Mattison]
- Update to 1.21
Upstream changes:
1.21 Wed 9 Apr 2009
- Fixed the issue that execute on inactive handles returned
0 instead of undef, which made a DBIC test broken (ISHIGAKI)
1.20 Mon 7 Apr 2009
- Moving to the first production release of the new era.
- Check DBI version in Makefile.PL (CHORNY)
- Bundling Test::NoWarings into /inc to remove a dependency (ADAMK)
- Correcting use 5.00503 to 5.006 in SQLite.pm (ADAMK)
1.19_10 Mon 6 Apr 2009
- A few more tests moved to Test::More (ADAMK)
- We need DBIXS_REVISION, which appeared in DBI 1.57.
Bumping up our dependency to match it and confirmed myself
that DBD::SQLite actually builds against 1.57 (ADAMK)
- Resolved#40594: $sth->{NULLABLE} implementation (ISHIGAKI)
- Resolved#29629: sqlite where length issue (actually this has
been fixed before) (ISHIGAKI)
- Applied an enable_load_extension patch from RT #32998 (ISHIGAKI)
- Resolved#42940: DBD-SQLite make test faild (ADAMK)
- Resolved#26460: Sorting numeric values in aggregate functions (ADAMK)
- Resolved#32889: prepare_cached does not work correctly (ADAMK)
- Resolved#34828: Please add support for user-defined collations (ADAMK)
- Made Test::NoWarnings an optional module (CORION)
1.19_09 Sun 5 Apr 2009
- Require perl 5.6 because dependencies require it
- Updated ppport.h to the most recent release 3.17 (ADAMK)
- Adding $DBI::VERSION diag to help diagnose FAIL reports (ADAMK)
- #29519 was only resolved on Win32. Applied a more comprehensive
patch (JHEDDEN)
- Rewrote 28_schemachange.t in Test::More style (ADAMK)
- Bug fix in 28_schemachange.t rewrite re fork/connect (DUNCAND)
- Resolved#44779: [t/03insert.t] last_insert_id returns undef where 4
is expected (DUNCAND, CHORNY; that is, DUNCAND debugged and solved
the ticket based on _08, which was a flaw in the Makefile.PL
involving an always-applied -Dno_last_insert_id, but it turns out
CHORNY had inadvertantly applied the fix in the name of DBI cleaning)
- Starting to use Test::NoWarnings in the test scripts (ADAMK)
- Added link to MailingList resource (ADAMK)
- Squelch warnings inless PrintWarn is set in line with guidance from
the DBI documentation (ADAMK)
- Resolved#29058: don't quote a bind param (as a text) if it
looks like a number (ISHIGAKI)
- Resolved#27553: prepare_cached and analyze issue (actually
this has been fixed before) (ISHIGAKI)
1.19_08 Sat 4 Apr 2009
- Bumped minimum DBI dependency to 1.43 so last_insert_id is supported
in DBI (ADAMK)
- Resolved#30558: INSERT After PK Failure Also Fails Using
Prepared (ADAMK)
- Resolved#42567: Core dump in t/07busy.t after test 4 (mutex and/or
memory corruption) (ADAMK)
- Resolved#32100: t/06error.t fails using SQLite 3.5.4 (ADAMK)
- Resolved#35904: Test failure: Bus error t/08create_function
test (ADAMK)
- Resolved#9792: Crashes upon re-executing a statement (ADAMK)
- Resolved#21472: Spurious "not an error" and "bind or column index
out of range" errors (MSERGEANT)
- Resolved#32723: last_insert_rowid should handle sqlite_int64,
not int (ADAMK)
- Resolved#37215: memory leaks in sqlite_db_disconnect (ADAMK)
- Resolved#33441: unlimited memory accumulation (ADAMK)
- Resolved#31324: Incorrect Implementation of column names within
sqlite_st_FETCH_attrib (ADAMK)
- Resolved#32570: segmentation fault during tests 07 & 08 (ADAMK)
- Resolved#41631: Dot doesn't work in quoted column aliases (ADAMK)
- Resolved#403: test failure on "Testing select speed (large table) (ADAMK)
- Resolved#35769: dbimp.c uses uninitialized variables. (ADAMK)
- Resolved#27701 and #27702: (unnamed) (ADAMK)
- Resolved#31239: prepare_cached...statement handle
DBIx::ContextualFetch::st=HASH still Active (ADAMK)
- Resolved#41047: Re: Bug#506157: libdbd-sqlite3-perl: unsufficient
error message while opening database for writing (ADAMK)
- Resolved#25196 (bug in prepare?) (ADAMK)\
- Resolved#36651: Bug involving "closing dbh with active
statement handles" (ADAMK)
- Resolved#34408: Primary key name wrong with newline in
CREATE TABLE (ADAMK)
- Resolved#34600: t/06_error.t stalling (ADAMK)
- Resolved#22688: DBD::SQLITE Error Report (ADAMK)
1.19_07 Sat 4 Apr 2009
- Starting to work the RT queue now the basics are settled.
Many of the items marked as resolved by my just indicate that I have
confirmed someone else applied the fix. (ADAMK)
- Re-enable and fix t/70schemachange.t, as per RT #43448 (CORION)
- Added a canary test to probe for RT #36863
(segfault on OSX 10.5.2) (CORION)
- Added resources links to META.yml (ADAMK)
- Resolved#30502: t\70schemachange.t fails on Windows (ADAMK)
- Resolved#30167: Specify configuration depenencies with
"configure_requires" (ADAMK)
- Resolved#17623: make test fails when DBI_DSN is not
DBD::SQLite (ADAMK)
- Resolved#13631: wish: column_info support() (CORION)
- Resolved#39938: Read-access to development repository (ADAMK)
- Resolved#18617: Build error under win32 (ADAMK)
- Resolved#35838: support for DBI::column_info call (CORION)
- Resolved#29497: POD content bug (ADAMK)
- Resolved#29520: 1.14 fails in test 6 (ADAMK)
- Resolved#44647: Makefile.PL syntax error (ADAMK)
- Resolved#29519: t/70schemachange.t failure (ADAMK)
- Resolved#20286: DBD::SQLite leaks file descriptors (ADAMK)
- Resolved#21406: DBD-SQLite 1.13 broke Class-DBI (ADAMK)
- Resolved#4591: Test suite (t/t50*.t) is order dependent / bug in
t/lib.pl? (ADAMK)
- Resolved#36467: Name "DBD::SQLite::sqlite_version" used
only once (ADAMK)
- Resolved#7753: DBD::SQLite error shouldn't include extraneous
info (ADAMK)
1.19_06 Sat 4 Apr 2009
- Fixed a segv with an error function under x86 linux
(and hopefully Mac OSX). (TOKUHIROM)
- Fixed yet another segv while testing DBIC reconnection (DMAKI)
- Switched from Test.pm to Test::More (though there're still
some tests that don't use Test::More) (ISHIGAKI)
- Added "use strict" to some. (ISHIGAKI)
- Added a cleanup block to each test to allow it run clean and
separately. (ISHIGAKI)
- Adding an explicit minimum Perl version to the Makefile.PL (ADAMK)
- Setting configure_requires dependencies for File::Spec
- Splitting the LICENSE key into it's own MakeMaker
version-dependency conditional (ADAMK)
- All tests run under the same Perl environment
(autoflush on, and warnings enabled via $^W = 1) (ADAMK)
- Refactored away a ton of needless complexity from the
older-style tests inherited from the CSV driver (ADAMK)
1.19_05 Thu 2 Apr 2009
- DBD::SQLite::Amalgamation 3.6.1.2 and DBD::SQLite 1.19
should be feature identical now.
- Added collations from DBD::SQLite::Amalgamation (CORION)
- Removed statement handle activation after "execute" if
there's no row to fetch. I hope this silences the
Class::DBI's warnings. (ISHIGAKI)
1.19_04 Tue 31 Mar 2009
- Updated to SQLite 3.6.12 (ISHIGAKI)
1.19_03 Tue 31 Mar 2009
- Added ->column_info() (CORION)
1.19_02 Sun 29 Mar 2009
- Updated to SQLite 3.6.11 (ISHIGAKI)
- Added/updated several prototypes (ISHIGAKI)
- Moved TODO into the POD (ADAMK)
1.19_01 Fri 27 Mar 2009
- Updated to SQLite 3.6.10, and bumped up the version
requirement for installed sqlite3 to 3.6.0 as 3.6.x
has backward incompatiblity (ISHIGAKI)
- Fixed "closing dbh with active statement handles" issue
with a patch by TOKUHIROM. (ISHIGAKI)
- Skip 70schemachange test for Windows users. (ISHIGAKI)
- Applied RT patches including #29497, #32723, #30558,
#34408, #36467, #37215, #41047. (ISHIGAKI)
- Added TODO to show which issues are to be fixed. (ISHIGAKI)
- License and configure_requires in Makefile.PL and META.yml (Alexandr Ciornii)
- Spelling check for SQLite.pm (Alexandr Ciornii)
- Adding arbitrary Perl 5.00503 minimum
1.16 abandoned
1.15 abandoned
0.08013 2009-04-05 14:50:00 (UTC)
- Version dumps on dependancies:
+ SQL::Abstract 1.51
+ Class::Accessor::Grouped 0.08003
+ Class::C3::Componentised 1.0004
- Fix test in t/91debug.t for less ambigious SQL bracketing
- Removed TODO on some passing tests
revision 1.51 2009-03-28 10:00 (UTC)
- fixed behavior of [-and => ... ] depending on the current
condition scope. This introduces backwards comp with 1.24
* Fixed a bug that caused database corruption when an incremental vacuum is
rolled back in an in-memory database.
* Added the sqlite3_unlock_notify() interface.
* Added the reverse unordered selects pragma.
* The default page size on windows is automatically adjusted to match the
capabilities of the underlying filesystem.
* Add the new ".genfkey" command in the CLI for generating triggers to
implement foreign key constraints.
* Performance improvements for "count(*)" queries.
* Reduce the amount of heap memory used, especially by TRIGGERs.
The new release contains some rather influential changes.
* Holt-Winters rrds should see a drastic speedup.
* Front-ends relying on output from graph --lazy will work again
* updatev does not segfault on 32 bit platforms anymore.
* rrd_dump produces correct output with german locales.
Changes since 2.1.1:
* Allow metal to live in plugins #2045 [Matthew Rudy]
* Added metal [Josh Peek]
* Remove script/performance/request in favour of the performance
integration tests. [Pratik Naik]
* Add a rake task to apply a template to an existing application :
rake rails:template LOCATION=~/template.rb [Pratik Naik]
* Add "-m/--template" option to Rails generator to apply a template to
the generated application. [Jeremy McAnally]
* Extracted the process scripts (inspector, reaper, spawner) into the
plugin irs_process_scripts [David Heinemeier Hansson]
* Changed Rails.root to return a Pathname object
* Added view path support for engines [David Heinemeier Hansson]
* Added that config/routes.rb files in engine plugins are
automatically loaded (and reloaded when they change in dev mode)
[David Heinemeier Hansson]
* Added app/[models|controllers|helpers] to the load path for plugins
that has an app directory (go engines ;)) [David Heinemeier Hansson]
* Add config.preload_frameworks to load all frameworks at
startup. Default to false so Rails autoloads itself as it's
used. Turn this on for Passenger and JRuby. Also turned on by
config.threadsafe! [Jeremy Kemper]
* Add a rake task to generate dispatchers : rake
rails:generate_dispatchers [Pratik Naik]
* "rails <app>" will not generate public/dispatch.cgi/fcgi/rb files by
default now. Please use "--with-dispatchers" option if you need
them. [Yaroslav Markin, Pratik Naik]
* Added rake rails:update:application_controller to renamed
application.rb to application_controller.rb -- included in rake
rails:update so upgrading to 2.3 will automatically trigger it #1439
[kastner]
* Added Rails.backtrace_cleaner as an accessor for the
Rails::BacktraceCleaner instance used by the framework to cut down
on backtrace noise and config/initializers/backtrace_silencers.rb to
add your own (or turn them all off) [David Heinemeier Hansson]
* Switch from Test::Unit::TestCase to ActiveSupport::TestCase. [Jeremy Kemper]
* Added config.i18n settings gatherer to config/environment,
auto-loading of all locales in config/locales/*.rb,yml, and
config/locales/en.yml as a sample locale [David Heinemeier Hansson]
* BACKWARDS INCOMPATIBLE: Renamed application.rb to
application_controller.rb and removed all the special casing that
was in place to support the former. You must do this rename in your
own application when you upgrade to this version [David Heinemeier
Hansson]
* Fixed plugin generator so that generated unit tests would subclass
ActiveSupport::TestCase, also introduced a helper script to reduce
the needed require statements #1137 [Mathias Meyer]
* Update Prototype to 1.6.0.3 [sam]
* Fixed that sqlite would report "db/development.sqlite3 already
exists" whether true or not on db:create #614 [Antonio Cangiano]
* Added config.threadsafe! to toggle allow concurrency settings and
disable the dependency loader [Josh Peek]
* Turn cache_classes on by default [Josh Peek]
* Added configurable eager load paths. Defaults to app/models,
app/controllers, and app/helpers [Josh Peek]
* Introduce simple internationalization support. [Ruby i18n team]
* Make script/plugin install <plugin> -r <revision> option work with
git based plugins. #257. [Tim Pope Jakub Kuźma]. Example:
* Added Rails.initialized? flag [Josh Peek]
* Make rake test:uncommitted work with Git. [Tim Pope]
* Added Thin support to script/server. #488 [Bob Klosinski]
* Fix script/about in production mode. #370 [Cheah Chu Yeow, Xavier
Noria, David Krmpotic]
* Add the gem load paths before the framework is loaded, so certain
gems like RedCloth and BlueCloth can be frozen.
* Fix discrepancies with loading rails/init.rb from gems.
* Plugins check for the gem init path (rails/init.rb) before the
standard plugin init path (init.rb) [Jacek Becela]
* Changed all generated tests to use the test/do declaration style
[David Heinemeier Hansson]
* Wrapped Rails.env in StringInquirer so you can do
Rails.env.development? [David Heinemeier Hansson]
* Fixed that RailsInfoController wasn't considering all requests local
in development mode (Edgard Castro) [#310 state:resolved]
Changes:
2009-03-14 Mikio Hirabayashi <mikio@users.sourceforge.net>
* ttservctl: configuration was modified and update log is now disabled by default.
* ttutil.c (ttopensock, ttacceptsock): performance was improved.
* scrext.c (scrextnew): a parameter for the logger was added.
- Release: 1.1.18
Changes:
2009-02-19 Mikio Hirabayashi <mikio@users.sourceforge.net>
* ttutil.c (tthttpfetch): timeout mechanism was added.
* ttserver.c (do_mc_delete): mismatch of the error message was resolved.
* ttserver.c (do_mc_incr, do_mc_decr): behavior became as with the original memcached.
* tcrdb.c (tcrdbqrysetlimit): new function instead of "tcrdbqrysetmax".
- Release: 1.1.17
Changes:
2009-03-11 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tctopsort): new function.
* tchdb.c (tchdbfbpinsert, tchdbfbpsearch, tchdbfbpsplice): performance was improved.
* tchdb.c (tchdbwriterec): concurrency was improved.
* tctdb.c (tctdbqrysearchimpl): a bug related to the skip parameter was fixed.
* tctdb.c (tctdbputimpl, tctdbidxout, tctdbqrysearchimpl): performance was improved.
- Release: 1.4.11
2009-03-02 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tcmdbputproc, tcndbputfunc): removing mechanism was added.
* tchdb.c (tchdbwalrestore): a bug of memory corruption was fixed.
* tchdb.c (tchdbremoverec): new function.
* tchdb.c (tchdbputproc): removing mechanism was added.
* tcbdb.c (tchdbputproc): removing mechanism was added.
* tcfdb.c (tcfdbputproc): removing mechanism was added.
* tctdb.c (tctdbsetlimit): new function instead of "tctdbqrysetmax".
* tcadb.c (tcadbmisc): "setlimit" parameter was added.
- Release: 1.4.10
2009-02-18 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcbdb.c (tcbdbnodesubidx): a bug related to tree reconstruction was fixed.
* tcbdb.c (tcbdboptimizeimpl): memory usage was reduced.
- Release: 1.4.9
2009-02-18 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tclrand): bias of random numbers was lightened.
* tchdb.c (tchdbsetecode): a trick to print fatal errors only was added.
* tcbdb.c (tcbdbputimpl): a bug of mixing an useless entry on division was fixed.
* tcbdb.c (tcbdbnodesubidx): regions of useless nodes are now removed recursively.
* tcadb.c (tcadbopen): aliases of the database suffixes were added.
- Release: 1.4.8
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
* Prevent error recursion crashes when encoding conversion fails.
* Disallow "CREATE CONVERSION" with the wrong encodings for the
specified conversion function.
* Fix xpath() to not modify the path expression unless necessary, and
to make a saner attempt at it when necessary.
* Fix core dump when to_char() is given format codes that are
inappropriate for the type of the data argument.
* Fix possible failure in text search when C locale is used with a
multi-byte encoding.
* Fix extreme inefficiency in text search parser's handling of an
email-like string containing multiple @ characters.
* Fix planner problem with sub-"SELECT" in the output list of a
larger subquery.
* Fix decompilation of CASE WHEN with an implicit coercion.
* Fix possible misassignment of the owner of a TOAST table's rowtype.
* Change "UNLISTEN" to exit quickly if the current session has never
executed any "LISTEN" command.
* Fix PL/pgSQL to not treat INTO after "INSERT" as an INTO-variables
clause anywhere in the string, not only at the start; in
particular, don't fail for "INSERT INTO" within "CREATE RULE".
* Clean up PL/pgSQL error status variables fully at block exit.
* Retry failed calls to CallNamedPipe() on Windows.
* Add MUST (Mauritius Island Summer Time) to the default list of
known timezone abbreviations.
* Prevent error recursion crashes when encoding conversion fails.
* Disallow "CREATE CONVERSION" with the wrong encodings for the
specified conversion function.
* Fix core dump when to_char() is given format codes that are
inappropriate for the type of the data argument.
* Fix possible failure in "contrib/tsearch2" when C locale is used
with a multi-byte encoding.
* Fix extreme inefficiency in "contrib/tsearch2" parser's handling of
an email-like string containing multiple @ characters.
* Fix decompilation of CASE WHEN with an implicit coercion.
* Fix possible misassignment of the owner of a TOAST table's rowtype.
* Fix PL/pgSQL to not treat INTO after "INSERT" as an INTO-variables
clause anywhere in the string, not only at the start; in
particular, don't fail for "INSERT INTO" within "CREATE RULE".
* Clean up PL/pgSQL error status variables fully at block exit.
* Retry failed calls to CallNamedPipe() on Windows.
* Add MUST (Mauritius Island Summer Time) to the default list of
known timezone abbreviations.
* Prevent error recursion crashes when encoding conversion fails.
* Disallow "CREATE CONVERSION" with the wrong encodings for the
specified conversion function.
* Fix core dump when to_char() is given format codes that are
inappropriate for the type of the data argument.
* Fix decompilation of CASE WHEN with an implicit coercion.
* Fix possible misassignment of the owner of a TOAST table's rowtype.
* Clean up PL/pgSQL error status variables fully at block exit.
* Add MUST (Mauritius Island Summer Time) to the default list of
known timezone abbreviations.
Approved by MAINTAINER.
Pkgsrc changes:
- Adjust dependencies
- Prevent installation of a temporary file included in the upstream
tarball
Upstream changes:
revision 1.50 2009-03-10 12:30 (UTC)
- fixed the problem with values() not behaving the same as the rest of the code (RT#43483)
- fixed interjecting arrayrefref into a where clause
- added value-only insert test with a literal SQL snippet
- cleanup and enhancement of t/03values.t
- better handling of borked SQL in tests
- deal properly with parentheses in is_same_sql_bind()
- fixed test subs (is_same_*) in SQL::Abstract::Test to return the correct test value
- do not version MANIFEST
Version 1.50 was a major internal refactoring of SQL::Abstract.
Great care has been taken to preserve the published behavior
documented in previous versions in the 1.* family; however,
some features that were previously undocumented, or behaved.
differently from the documentation, had to be changed in order
to clarify the semantics. Hence, client code that was relying
on some dark areas of SQL::Abstract v1.* might behave differently
in v1.50.
----------------------------
revision 1.49_04 2009-03-03
- add support for a [\%column_meta => value] bind value format
----------------------------
revision 1.49_03 2009-02-17
- clarify syntax of \['...', @bind] when used with a bindtype
of 'columns'
----------------------------
revision 1.49_02 2009-02-16
- added an AST-aware SQL::Abstract::Test library for sql syntax tests
- vastly expanded test coverage
- support for the { operator => \'...'|\['...', @bind] } syntax
allowing to embed arbitrary operators on the LHS
- fixed multiple regressions wrt DBIx::Class
----------------------------
revision 1.49_01 2009-02-11
- support for literal SQL through the [$sql, bind] syntax.
- added -nest1, -nest2 or -nest_1, -nest_2, ...
- optional support for array datatypes
- defensive programming : check arguments to functions/methods
- fixed bug with global logic of -and/-or (no side-effects any more)
- changed logic for distributing an op over arrayrefs
- fixed semantics of _bindtype on array args
- dropped the _anoncopy of the %where tree. No longer necessary.
- dropped the _modlogic function
- Make col => [] and col => {$op => [] } DTRT or die instead of generating
broken SQL. Added tests for this.
- Added { -desc => 'column' } order by support
- Tiny "$_"-related fix for { -desc => 'columns'} order by support
tests + docs
components are now built into PHP rather than maintained separately in
PECL. The old PECL versions are unmaintained and haven't been altered
for 3 years. This is confusing as the package versions report themselves
to be 5.2.9.1.0.2, etc. but they are in fact based on the 5.1.x code-base.
Therefore, we need to switch to building the PDO modules like any other
PHP module.
A side-effect of this is that the PECL version number will get stripped
off the end meaning that the new version numbers are just 5.2.9 instead
of 5.2.9.1.0.2 (for example). Unfortunately, 5.2.9 is considered to be
older than 5.2.9.1.0.2 meaning that it will appear as though a downgrade
has taken place. Therefore, while we are still using PHP 5.2.9, add .99 on
the end (i.e. 5.2.9.99) so that the package appears newer. When PHP 5.2.10
is released this can be removed (the module.mk file explicitly cgecks for
5.2.9 before adding the .99 suffix so that it will not alter 5.2.10 if the
hack is forgotten. However, for the record, when 5.2.10 is released,
php-pdo/module.mk can be removed along with the references to it in each
php-pdo*/Makefile
- Updating module to 1.20
Upstream changes:
Version 1.20, released March 5th, 2009
------------------------------------------
* Fixed Makefile in MANIFEST (reported by Havard Eidnes in RT #43586)
* Fixed invalid label FETCHROW used (reported by Michael in RT #42982)
* separated update_one_row and update_specific_row method names for tables
to avoid confusion
Auto-Oked by rhaen@, because I maintain the CPAN module
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
(Please give the pkgs you commit a least a minimal testing. Since
sqlite3-tcl is needed to run the sqlite selftests the least I'd expect
is to build that as well.)
Pkgsrc changes:
o Added new needed dependencies
o Removed no-longer-needed patch-aa
Upstream changes:
Version 1.19, released February 6th, 2009
------------------------------------------
* Fixed OUTER JOIN behaviour
* Added version info to all *.pm files to allow CPAN::Reporter find updates
* Correct META-Files
* Fixed reported bugs:
Version 1.18_02, no public release
-----------------------------------
Additional (profiled) optimizations for complicated where clauses
Version 1.18_01, released January 12th, 2009
---------------------------------------------
No code changes within SQL::Statement - but deliver and execute additional
tests.
Upstream changes:
0.38 21st February 2009
* Fixed typo in BerkleyDB.pod that broke t/pod.t
0.37 18th February 2009
* Included CDS section to the pod.
* Various documentation patches from RT#42243
4.7.5:
* Add support for "DB_EID_INVALID" and "DB_EID_BROADCAST" flags.
* Add support for "DB_SEQUENCE->stat_print()". The binding
support for "DB_SEQUENCE" is now complete.
* Add support for "DB_ENV->txn_stat_print()".
* Add support for "DB_ENV->get_timeout()".
* Document that "DB_ENV->txn_stat()" accepts a flag.
* Unlock the GIL when doing "DB_ENV->set_tx_max()" and
"DB_ENV->set_tx_timestamp()".
* Add support for "DB_ENV->get_tx_max()".
* Add support for "DB_ENV->get_tx_timestamp()".
* Add support for "DB_TXN_WAIT" flag.
* Add support for "DB_TXN->set_timeout()".
* Add support for "DB_TXN->set_name()" and
"DB_TXN->get_name()". Under Python 3.0, the name
is an Unicode string. The binding support for
"DB_TXN" is now complete.
* Add support for "DB_REP_PERMANENT", "DB_REP_CONF_NOAUTOINIT",
"DB_REP_CONF_DELAYCLIENT", "DB_REP_CONF_BULK",
"DB_REP_CONF_NOWAIT", "DB_REP_LEASE_EXPIRED",
"DB_REP_CONF_LEASE", "DB_REPMGR_CONF_2SITE_STRICT",
"DB_REP_ANYWHERE", "DB_REP_NOBUFFER" and "DB_REP_REREQUEST"
flags.
4.7.4:
* Under Python 3.0, "bsddb.db.DB_VERSION_STRING",
"bsddb.db.__version__" and "bsddb.db.cvsid" must
return (unicode) strings instead of bytes. Solved.
* Use the new (20081018) trove classifiers in PyPI
to identify Python supported versions.
* In "DB_ENV->rep_set_timeout()" and "DB_ENV->rep_get_timeout()",
support flags "DB_REP_LEASE_TIMEOUT".
* In "DB_ENV->rep_set_timeout()" and "DB_ENV->rep_get_timeout()",
support flags "DB_REP_HEARTBEAT_MONITOR" and
"DB_REP_HEARTBEAT_SEND". These flags are used in the Replication
Manager framework, ignored if using Base Replication.
* Implements "DB->exists()".
* Add support for "DB_IMMUTABLE_KEY" flag.
* Add support for "DB_REP_LOCKOUT" exception.
* Support returning a list of strings in "associate()"
callback. (Kung Phu)
* Testsuite and Python 3.0 compatibility for "associate()"
returning a list. In particular, in Python 3.0 the list
must contain bytes.
* Implements "DBEnv->fileid_reset()". (Duncan Findlay)
* Implements "DB->compact()". (Gregory P. Smith)
Berkeley DB 4.6 implementation is buggy, so we only
support this function from Berkeley DB 4.7 and newer.
We also support related flags "DB_FREELIST_ONLY"
and "DB_FREE_SPACE".
shared-mime-info 0.60 (2009-02-21)
* Mime-type Changes:
- Add alias for SMIL
- Fix SMIL detection
- Add Annodex mime-type
- Only use .ogg for audio Ogg files
- Fix RDF mime-type
- Oasis mime-type fixes
- Make PICTURES match a picture CD but not "pictures"
- Add alias for application/zip
- Add Microsoft Document Imaging format
- Add magic for 7z archives
- Add cb7 comic book archives
- Add magic for XCF files
- Remove application/x-msi magic
- Add audio/x-gsm mime-type
- Add MS cab mime-type
- Add FictionBook mime-type
- Fix PKCS#12 bundles definition (not text files)
- Add PKCS#7 and PkiPath mime-types
- Add application/vnd.ms-wpl mime-type
- Add more aliases for media types
- Add alias for text/x-csv
- Fix comment for Gnucash files
- Make Javascript a sub-class of C
- Add *.vapi as a glob for Vala files
- Fix image/fits to match IANA
- Add Office 2007/OpenXML documents mime-types
- Add Pocket Word and AportisDoc document types
- Fix MS ICO, and Photoshop image to match IANA
* Other changes:
- Regenerate the pot file when needed
- Some clarifications in the spec
- Build fix when srcdir != builddir
1.819 18 February 2009
* t/db-recno.t fails if run in a path that contains spaces
[rt.cpan.org #43288]
1.818 21 January 2009
* Updated Makefile.PL for Strawberry Perl.
Patch suggested by David Golden.
* Remove IRIX notes from README. The page referenced doesn't exist
anymore.
* Added the hot-backup interface.
* Added new commands ".backup" and ".restore" to the CLI.
* Added new methods backup and restore to the TCL interface.
* Improvements to the syntax bubble diagrams
* Various minor bug fixes
Pkgsrc changes:
- adjust run and build dependencies
- group dependencies by type (run vs build)
- sort dependencies as in upstream's Makefile.PL
- whitespace to tab fix
Upstream changes:
0.08012 2009-02-13 12:00:00 (UTC)
- Add omitted dependencies in Makefile.PL
0.08011 2009-02-11 16:30:00 (UTC)
- Maintenance release introducing compatibilty with upcoming
versions of SQL::Translator and SQL::Abstract
Approved by MAINTAINER.
Pkgsrc changes:
- fix HOMEPAGE
- adjust build dependencies
- reset MAINTAINER to pkgsrc-users@NetBSD.org as per MAINTAINER's request
Upstream changes:
0.141 22nd December 2008, 22:13
- fixed pod syntax
0.14 22nd December 2008, 14:48
- added support for Informix, provided by Paul Falbe.
0.13 21st December 2008, 23:20
- updated test suite to play with the latest release of SQL::Abstract.
Patches supplied by the SQL::Abstract dev team.
Changes:
2009-02-13 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tctdb.c (tctdbgenuidimpl): the meta data format was normalized to the big endian.
* tctdb.c (tctdbsetuidseed): new function.
* tcadb.c (tcadbmisc): "get" function of the table database was enhanced.
- Release: 1.4.6
Pkgsrc changes:
- Depend on net/p5-IO-Socket-INET6 instead of the identical and soon
to be removed net/p5-INET6
Upstream changes:
perl-ldap 0.39 -- Mon Oct 27 15:02:37 CDT 2008
==============================================
Bug Fixes
* Several fixes to the handling of IntermediateMessage and LDAP Content synchronisation
* Fix dsmt test to not fail on win32
* Fix Net::LDAP::Util to not cause Undefined subroutine &Net::LDAP::Util::ldap_error_desc
programming language via a JDBC driver, which is called MySQL Connector/J.
MySQL Connector/J is a JDBC Type 4 driver. Different versions are available
that are compatible with the JDBC 3.0 and JDBC 4.0 specifications. The Type
4 designation means that the driver is pure-Java implementation of the MySQL
protocol and does not rely on the MySQL client libraries.
programming language via a JDBC driver, which is called MySQL Connector/J.
MySQL Connector/J is a JDBC Type 4 driver. Different versions are available
that are compatible with the JDBC 3.0 and JDBC 4.0 specifications. The Type
4 designation means that the driver is pure-Java implementation of the MySQL
protocol and does not rely on the MySQL client libraries.
* Make "DISCARD ALL" release advisory locks, in addition to
everything it already did
This was decided to be the most appropriate behavior. This could
affect existing applications, however.
* Fix whole-index GiST scans to work correctly
This error could cause rows to be lost if a table is clustered on a
GiST index.
* Fix crash of xmlconcat(NULL)
* Fix possible crash in ispell dictionary if high-bit-set characters
are used as flags
This is known to be done by one widely available Norwegian
dictionary, and the same condition may exist in others.
* Fix misordering of pg_dump output for composite types
The most likely problem was for user-defined operator classes to be
dumped after indexes or views that needed them.
* Improve handling of URLs in headline() function
* Improve handling of overlength headlines in headline() function
* Prevent possible Assert failure or misconversion if an encoding
conversion is created with the wrong conversion function for the
specified pair of encodings
* Fix possible Assert failure if a statement executed in PL/pgSQL is
rewritten into another kind of statement, for example if an
"INSERT" is rewritten into an "UPDATE"
* Ensure that a snapshot is available to datatype input functions
* Make it safer for SPI-using functions to be used within datatype
I/O; in particular, to be used in domain check constraints
* Avoid unnecessary locking of small tables in "VACUUM"
* Fix a problem that sometimes kept "ALTER TABLE ENABLE/DISABLE RULE"
from being recognized by active sessions
* Fix a problem that made UPDATE RETURNING tableoid return zero
instead of the correct OID
* Allow functions declared as taking ANYARRAY to work on the
pg_statistic columns of that type
This used to work, but was unintentionally broken in 8.3.
* Fix planner misestimation of selectivity when transitive equality
is applied to an outer-join clause
This could result in bad plans for queries like ... from a left
join b on a.a1 = b.b1 where a.a1 = 42 ...
* Improve optimizer's handling of long IN lists
This change avoids wasting large amounts of time on such lists when
constraint exclusion is enabled.
* Prevent synchronous scan during GIN index build
Because GIN is optimized for inserting tuples in increasing TID
order, choosing to use a synchronous scan could slow the build by a
factor of three or more.
* Ensure that the contents of a holdable cursor don't depend on the
contents of TOAST tables
* Fix memory leak when a set-returning function is terminated without
reading its whole result
* Fix encoding conversion problems in XML functions when the database
encoding isn't UTF-8
* Fix "contrib/dblink"'s dblink_get_result(text,bool) function
* Fix possible garbage output from "contrib/sslinfo" functions
* Fix incorrect behavior of "contrib/tsearch2" compatibility trigger
when it's fired more than once in a command
* Fix possible mis-signaling in autovacuum
* Support running as a service on Windows 7 beta
* Fix ecpg's handling of varchar structs
* Fix configure script to properly report failure when unable to
obtain linkage information for PL/Perl
* Make all documentation reference pgsql-bugs and/or pgsql-hackers as
appropriate, instead of the now-decommissioned pgsql-ports and
pgsql-patches mailing lists
* Update time zone data files to tzdata release 2009a (for Kathmandu
and historical DST corrections in Switzerland, Cuba)
* Improve handling of URLs in headline() function
* Improve handling of overlength headlines in headline() function
* Prevent possible Assert failure or misconversion if an encoding
conversion is created with the wrong conversion function for the
specified pair of encodings
* Fix possible Assert failure if a statement executed in PL/pgSQL is
rewritten into another kind of statement, for example if an
"INSERT" is rewritten into an "UPDATE"
* Ensure that a snapshot is available to datatype input functions
* Make it safer for SPI-using functions to be used within datatype
I/O; in particular, to be used in domain check constraints
* Avoid unnecessary locking of small tables in "VACUUM"
* Fix a problem that made UPDATE RETURNING tableoid return zero
instead of the correct OID
* Fix planner misestimation of selectivity when transitive equality
is applied to an outer-join clause
This could result in bad plans for queries like ... from a left
join b on a.a1 = b.b1 where a.a1 = 42 ...
* Improve optimizer's handling of long IN lists
This change avoids wasting large amounts of time on such lists when
constraint exclusion is enabled.
* Ensure that the contents of a holdable cursor don't depend on the
contents of TOAST tables
* Fix memory leak when a set-returning function is terminated without
reading its whole result
* Fix "contrib/dblink"'s dblink_get_result(text,bool) function
* Fix possible garbage output from "contrib/sslinfo" functions
* Fix configure script to properly report failure when unable to
obtain linkage information for PL/Perl
* Make all documentation reference pgsql-bugs and/or pgsql-hackers as
appropriate, instead of the now-decommissioned pgsql-ports and
pgsql-patches mailing lists
* Update time zone data files to tzdata release 2009a (for Kathmandu
and historical DST corrections in Switzerland, Cuba)
* Fix crash in autovacuum
The crash occurs only after vacuuming a whole database for
anti-transaction-wraparound purposes, which means that it occurs
infrequently and is hard to track down.
* Improve handling of URLs in headline() function
* Improve handling of overlength headlines in headline() function
* Prevent possible Assert failure or misconversion if an encoding
conversion is created with the wrong conversion function for the
specified pair of encodings
* Avoid unnecessary locking of small tables in "VACUUM"
* Ensure that the contents of a holdable cursor don't depend on the
contents of TOAST tables
* Fix uninitialized variables in "contrib/tsearch2"'s get_covers()
function
* Fix configure script to properly report failure when unable to
obtain linkage information for PL/Perl
* Make all documentation reference pgsql-bugs and/or pgsql-hackers as
appropriate, instead of the now-decommissioned pgsql-ports and
pgsql-patches mailing lists
* Update time zone data files to tzdata release 2009a (for Kathmandu
and historical DST corrections in Switzerland, Cuba)
2009-02-05 Mikio Hirabayashi <mikio@users.sourceforge.net>
* ttutil.c (ttservstart, ttservaddtimedhandler): multiple tasks are now supported.
* ttutil.c (ttsockrecv, ttsockgetint32, ttsockgetint64): performance was improved.
* ttserver.c (do_extpc): new function.
- Release: 1.1.14
2009-02-04 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcrdb.c (tcrdbqrysearchout): a bug related to the protocol format was fixed.
* tcrdb.c (tcrdbqrysearchget): new function.
- Release: 1.1.13
Changes:
2009-01-29 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tcmapputproc, tctreeputproc, tcmdbputproc, tcndbputproc): new functions.
* tchdb.c (tchdbputproc): new function.
* tchdb.c (TDBTHREADYIELD): "sched_yield" is now used instead of "pthread_yield".
* tcbdb.c (tcbdbputproc): new function.
* tcbdb.c (tcbdbcurkey, tcbdbcurval): the type of the return value was modified.
* tcfdb.c (tcfdbputproc): new function.
* tcadb.c (tcadbputproc): new function.
* tcadb.c (tcadbmisc): sub funcitons "put", "out", and "get" were added.
* tcadb.c (tcstrisnum): new function.
- Release: 1.4.4
One minor change to the rc.d script:
o Postpone setting pidfile to after /etc/rc.conf has been consulted,
so that a non-default setting of mysqld_datadir takes effect.
Without this, mysqld will not start with a non-default mysqld_datadir.
Should fix PR#30636.
Two changes to the rc.d script:
1) Move the setting of pidfile to a place so that setting mysqld_datadir
in rc.conf will actually work; otherwise, if you use a non-default
mysqld_datadir, mysqld will not start.
2) ad@ pointed me to http://bugs.mysql.com/bug.php?id=18526, and said
that --skip-thread-priority should not be used on NetBSD, and the
PR spoke about Darwin / OS/X. I'm guessing that this might work
if the host platform is Linux or SunOS (the latter is unconfirmed).
So add that option to the startup in all other cases.
Changes:
2009-01-21 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tcatof): new function.
* tcbdb.c (tcbdbleafaddrec): allocation tuning of duplicated records was modified.
* tcadb.c: all methods now support the table database API.
- Release: 1.4.2
Tokyo Cabinet is a library of routines for managing a database. The database is
a simple data file containing records, each is a pair of a key and a value.
Every key and value is serial bytes with variable length. Both binary data and
character string can be used as a key and a value. There is neither concept of
data tables nor data types. Records are organized in hash table, B+ tree, or
fixed-length array.
This package provides Lua binding of Tokyo Cabinet.
Changes:
2009-01-19 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tctdbsearchimpl): optimized with macros.
* tcbdb.c (tcbdbcurjumpimpl): a bug related to backword positioning was fixed.
* tctdb.c (tctdbsearchimpl): a bug related to numeric range search was fixed.
* tctdb.c (tctdbsetcache, tctdbforeach, tctdbqryproc): new functions.
* tctdb.c (tctdbqryonecondmatch): new function.
- Release: 1.4.1
2009-01-04 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tccmpdecimal): equal numbers are now distinct by lexical order.
* tcutil.c (tclistnew3, tcmapnew3): new functions.
* tcutil.c (tcatoix, tclistinvert, tclog2l, tclog2d): new functions.
* tcutil.c (tcstrsplit2, tcstrsplit3, tcstrsplit4): new functions.
* tcutil.c (tcstrjoin2, tcstrjoin3, tcstrjoin4): new functions.
* tchdb.c (tchdbputimpl): a bug of memory corruption was fixed.
* tchdb.c (tchdbgetnext3): new function.
* tcbdb.c (tcbdbleafaddrec): a bug of memory corruption was fixed.
* tcbdb.c (tcbdboptimizeimpl): a bug related to parameter accession was fixed.
* tctdb.h, tctdb.c, tcttest.c, tctmttest.c, tctmgr.c: new files.
- Release: 1.4.0
Pkgsrc changes:
o Update patch to Makefile.PL to avoid reading stdin.
Upstream changes: (Nothing marked 1.17 from upstream...)
Version 1.16_04, released 4 January, 2009
------------------------------------------
* added tests to prove valid quoting (most of them fail)
* Reformat the source
* add some (profiled) tweaks as removing useless regex to speed up SELECT
* Fixed Bugs:
* 14217 Does not correctly handle SQL statements with comments
* 15686 Join syntax is case-sensitive, and common columns in natural
joins are "ambiguous" [patch]
* 13080 Cannot update a field based on its previous value
* 26058 functions on computed columns aliased to the underlying column
name are not called
Version 1.16_03, released 1 January, 2009
------------------------------------------
* removed *.orig and *.rej relicts
Version 1.16_02, released 1 January, 2009
------------------------------------------
* Changing join_2_tables to reduce memory usage when joining a lot of tables
* Fixed Bugs:
* 15688 Columns aliased with double quotes are a fatal error
* 16579 Speed optimizations
* 30590 Bug in SQL::Statement::is_number()
* 41875 Bug in synopsis example
Version 1.16_01, released 1 January, 2009
------------------------------------------
* With this release, I'd like to welcome Jens Rehsack as co-maintainer of
the SQL::Statement and SQL::Parser modules. Jens has added in some
great improvements.
Thanks Jens! -- Jeff
* Adding a lot of join tests (once from Jeff, 48 from
PostgreSQL official handbook) - no error of them will be corrected in the
first run
Thanks to Alexander Breibach <alexander.breibach@gmx.de> -- Jens
1.5.0b2
- fixed bug #12117: disconnect() does not work as documented
- fixed bug #13815: incomplete regexp in the Reverse module
- fixed bug #13928: Invalid triggers created for 'ON UPDATE'
- fixed bug #14302: Connection errors were not always returned
1.5.0b1
- request #12731: added truncateTable() in the Manager module
- request #12732: added vacuum() in the Manager module for OPTIMIZE/VACUUM TABLE abstraction
- fixed bug #12924: correctly handle internal expected errors even with custom error handling
- added standaloneQuery() and databaseExists()
- request #13106: added unixtimestamp() in the Function module
- fixed bug #13201: better regexp in errorInfo()
- fixed bug #13283: replace() doesn't respect quote_identifiers option
- fixed bug #13303: PRIMARY keys are not always returned in listTableConstraints()
and in getTableConstraintDefinition()
1.5.0a2
- fixed bug #12105: new error message in the SQLite driver (patch by Adam Ashley)
- fixed bug #12145: missing optional spaces in regexp in _getTableColumns() in the
Reverse module
- request #12012: added charset support in createDatabase() and collation support
in createTable() for table fields
1.5.0a1
- initial support for FOREIGN KEY and CHECK constraints in the Reverse and Manager modules
(on FK creation, some triggers are automatically created to enforce the FK constraint)
- in listTableConstraints() in the Reverse module, also search in table definition
for PRIMARY KEYs and FOREIGN KEYs
- fixed bug #11428: propagate quote() errors with invalid data types
- fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x
- fixed bug #12083: createTable() in the Manager module now returns MDB2_OK on success,
as documented
- fixed bug #12146: wrong regex in _getTableColumns($sql) in the Reverse module
- fixed bug #12269: tableInfo() in the Reverse module detect 'clob' data type
as first option
1.5.0b2
- fixed bug #12117: disconnect() does not work as documented
- fixed bug #13481: getTableConstraintDefinition() may return incomplete results
- fixed bug #13877: UNIQUE index not always recognized as constraint
- fixed bug #14292: alterTable() cannot change column type when no implicit cast is defined
- fixed bug #14510: getTableFieldDefinition() does not unquote defaults
- fixed bug #14828: unixtimestamp() generates invalid SQL for non-constant argument
- fixed bug #15056: tableInfo does not work with pgsql schemas (added support to
table schemas to Manager module)
1.5.0b1
- request #12731: added truncateTable() in the Manager module
- request #12732: added vacuum() in the Manager module for OPTIMIZE/VACUUM TABLE abstraction
- request #12800: added alterDatabase() in the Manager module
- fixed bug #12846: missing escape in getSequenceName() on PostgreSQL 8.2.4
[thanks to Stephane Berthelot]
- fixed bug #12920: added new error info and fixed escape method if connection doesn't exist [afz]
- fixed bug #12922: use standaloneQuery() in alterDatabase() [afz]
- fixed bug #12924: correctly handle internal expected errors even with custom error handling
- added standaloneQuery() and databaseExists()
- fixed bug #13112: the Reverse module does not know the timestamptz data type
- request #13106: added unixtimestamp() in the Function module
- fixed bug #13281: list FOREIGN KEY constraints in listTableConstraints() in the Manager module
- fixed bug #13356: added float4 to _mapNativeDatatype()
- fixed query in getTableConstraintDefinition() for FK constraints in the Reverse module
(thanks to Andre Restivo)
1.5.0a2
- fixed bug #12376: getTableConstraintDefinition() in the Reverse module
uses incorrect column number in certain cases (thanks to Dennis Birne)
- request #12338: added 'disable_smart_seqname' option to make improved
getSequenceName() behaviour optional (thanks to Dennis Birne) (@see bug #9106)
- request #12012: added collation support in createDatabase()
1.5.0a1
- initial support for FOREIGN KEY and CHECK constraints in the Reverse and Manager modules
- fixed bug #10986: Using more random statement names (request #11625)
- request #11297: added support for "schema.table" (or "owner.table") notation
in the Reverse module (related to bug #11207)
- fixed bug #11428: propagate quote() errors with invalid data types
- fixed bug in MDB2_Statement_pgsql::_execute(), called property of invalid object
- fixed bug #11624: getSequenceName() returning incorrect results with multiple
schemas and 'SET search_path'
- fixed bug #11652: failed prepared queries containing the "::type" style of casting
- fixed bug #11694: remove data type cast from DEFAULT value in getTableFieldDefinition()
in the Reverse module
- fixed bug #11753: NOTICEs in alterTable() in the Manager module
- fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x
- fixed some E_STRICT errors with PHP5
- fixed bug #12083: createTable() in the Manager module now returns MDB2_OK on success,
as documented
- fixed bug #12269: tableInfo() in the Reverse module detect 'clob' data type
as first option
1.5.0b2
- fixed bug #12117: disconnect() does not work as documented
- fixed bug #13412: sometimes getTableConstraintDefinition() fails for FOREIGN KEYs
- fixed bug #13581: wrong query in beginTransaction() for certain MySQL versions
- request #13657: in setCharset(), use mysql_set_charset() if available [cwiedmann]
- fixed bug #13928: Invalid triggers created for 'ON UPDATE'
- fixed bug #15051: Cannot create constraints with field length
- add index on FK column(s) or a FK constraint cannot be created in some cases
1.5.0b1
- fixed bug #11831: createTable() now supports tables with a multi-field PRIMARY KEY
where one field is defined as AUTO_INCREMENT
- request #11204: support AUTO_INCREMENT for FLOAT data type and UNSIGNED option
for FLOAT and DECIMAL data type [afz]
- fixed bug #11692: value of $db->supports('transactions') changes after query [afz]
- request #12731: added truncateTable() in the Manager module
- request #12732: added vacuum() in the Manager module for OPTIMIZE/VACUUM TABLE abstraction
- request #12800: added alterDatabase() in the Manager module [afz]
- fixed quoting in createDatabase() in the Manager module
- fixed bug #12924: correctly handle internal expected errors even with custom error handling
- added standaloneQuery() and databaseExists()
- request #13106: added unixtimestamp() in the Function module
- fixed regexp in listTableConstraints() in the Manager module to list FOREIGN KEY constraints
- fixed bug #13180: MySQL driver tells SAVEPOINT is supported for MyISAM tables
- fixed bug #13283: replace() doesn't respect quote_identifiers option
- request #13313: setCharSet() supports 'COLLATE' too
- fixed bug #13370: some capabilities depend on user options, so check them after
a setOption() call
- when triggers are supported, two triggers are created to emulate ON UPDATE / ON DELETE actions
for FOREIGN KEY constraints. Known limitation: since mysql doesn't support multiple triggers
with the same action time and event for one table, if there are multiple table referencing
the same table, only the first one will have the triggers created.
1.5.0a2
- fixed bug #12516: error in FK constraint creation query
- request #12012: added charset/collation support in createDatabase()
1.5.0a1
- fixed bug #10024: Added new option 'lob_allow_url_include' (default false) to
[dis]allow inserting a LOB from an url (file, http, ...).
- fixed bug #10986: Using more random statement names (request #11625)
- fixed bug #11055: Using placeholders with := variable assignment fails [bekarau]
- initial support for FOREIGN KEY constraints in the Manager and Reverse modules
- request #11389: added many new MySQL 5.1 error codes in errorInfo()
- fixed bug #11428: propagate quote() errors with invalid data types
- fixed bug #11590: _getServerCapabilities() has to be called once per connection
- fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x
- fixed some E_STRICT errors with PHP5
- fixed bug #12010: MDB2_PORTABILITY_RTRIM option was ignored
- fixed bug #12083: createTable() in the Manager module now returns MDB2_OK on success,
as documented
- fixed bug #12217: mysql_num_rows() returns FALSE on failure, not NULL (thanks to zaa@zaa.pp.ru)
- fixed bug #12242: missing charset info in the Reverse module (patch by Carsten Wiedmann)
- fixed bug #12269: tableInfo() in the Reverse module detect 'clob' data type
as first option
- fixed bug #12336: supply default value for NOT NULL timestamp fields
2.5.0b2
- fixed bug #12117: disconnect() does not work as documented
- fixed bug #12912: replace() documentation
- fixed bug #13811: _skipDelimitedStrings() fails on empty strings
- fixed bug #13898: more tolerant check for 'new_link' DSN option
- request #13929: added 'default_fk_action_ondelete' and 'default_fk_action_onupdate'
options for default FOREIGN KEY constraints actions
- fixed bug #14124: _skipDelimitedStrings() and prepare() fail with sql comments
inside quoted strings
- fixed bug #14179: declaration of MDB2_Driver_Common::raiseError() must be
compatible with that of PEAR::raiseError()
- fixed doc bug #14290: connect should mention the type of object returned
- fixed bug #14831: $ignores in _skipDelimitedStrings() [patch by Aleksander Machniak]
2.5.0b1
- request #12731: added truncateTable() in the Manager module
- request #12732: added vacuum() in the Manager module for OPTIMIZE/VACUUM TABLE abstraction
- request #12800: added alterDatabase() in the Manager module [afz]
- fixed bug #12924: correctly handle internal expected errors even with custom error handling
- fixed bug #12991: new error code in errorInfo() [afz]
- added databaseExists() method [afz]
- request #13106: added unixtimestamp() in the Function module
- added max_identifiers_length option
2.5.0a2
- fixed bug #12358: E_STRICT changes in latest alpha broke PHP4 compatibility
- fixed bug #12351: wrong case for function PEAR::isError() in the Reverse module
[was: IsError()]
- fixed bug #12530: MDB2_Extended::autoPrepare() gives error if $types is null
- request #12012: added charset/collation support in createDatabase() for the
drivers that support this feature
- added bindname_format option (this is the regexp used to recognize named
placeholders in prepared statements)
2.5.0a1
- fixed bug #10024: Security fix for LOBs. Added an option to turn lob_allow_url_include off by default
- fixed bug #11179: prepared statements with named placeholders fail if extra values are provided
- request #11297: added support for "schema.table" (or "owner.table") notation in the Reverse module
- initial support for FOREIGN KEY and CHECK constraints in the Reverse and Manager modules
- fixed bug #11428: propagate quote() errors with invalid data types
- added new test cases in the test suite
- added LENGTH() function in the Function module
- fixed bug #11612: raiseError() must be compatible with PEAR::raiseError() [PHP6]
- fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x
- fixed bug #11906: quoteIdentifier fails for names with dots
- fixed bug #11975: Extended::autoExecute() does not work with Oracle when using LOBs
(patch by Pieter Meulen, van der)
- fixed some E_STRICT errors with PHP5
- fixed bug #12083: createTable() in the Manager module now returns MDB2_OK on success,
as documented
- fixed bug #12246: wrong check in MDB2::isStatement() (thanks to zaa@zaa.pp.ru)
This despite one of the selftests still fail.
Upstream changes:
2.11.8 Released December 28, 2008
- Fix minor bug in t/12placeholders.t test (CPAN bug #41723)
Upstream changes:
0.39 14 Jan 2009
* add missing file to MANIFEST that causes tests to fail in 0.38
0.38 12 Jan 2009
* use maybe::next::method
* fix view_on_single_result bug in Test::Controller
* Fix two bugs, which when combined might result in incorrect query results.
Both bugs were harmless by themselves; only when they team up do they cause
problems.
Changes 3.6.8:
* Added support for nested transactions.
* Enhanced the query optimizer so that it is able to use multiple indices
to efficiently process OR-connected constraints in a WHERE clause.
* Added support for parentheses in FTS3 query patterns using
the SQLITE_ENABLE_FTS3_PARENTHESIS compile-time option.
Testing with databases can be tricky. If you are developing a system
married to a single database then you can make some assumptions
about your environment and ask the user to provide relevant connection
information. But if you need to test a framework that uses DBI,
particularly a framework that uses different types of persistence
schemes, then it may be more useful to simply verify what the
framework is trying to do -- ensure the right SQL is generated and
that the correct parameters are bound. DBD::Mock makes it easy to
just modify your configuration (presumably held outside your code)
and just use it instead of DBD::Foo (like DBD::Pg or DBD::mysql)
in your framework.
4.7.3: (Python 2.6 release. First release with Python 3.0 support)
* "private" is a keyword in C++. (Duncan Grisby)
* setup.py should install "bsddb.h". (Duncan Grisby)
* "DB_remove" memory corruption & crash. (Duncan Grisby)
* Under Python 3.0, you can't use string keys/values, but
bytes ones. Print the right error message.
* "DB.has_key()" allowed transactions as a positional parameter.
We allow, now, transactions as a keyword parameter also, as
documented.
* Correct "DB.associate()" parameter order in the documentation.
* "DB.append()" recognizes "txn" both as a positional and a
keyword parameter.
* Small fix in "dbshelve" for compatibility with Python 3.0.
* A lot of changes in "dbtables" for compatibility with Python 3.0.
* Huge work making the testsuite compatible with Python 3.0.
* In some cases the C module returned Unicode strings under
Python 3.0. It should return "bytes", ALWAYS. Solved.
* Remove a dict.has_key() use to silence a warning raised under
Python2.6 -3 parameter. Python SVN r65391, Brett Cannon.
* Solve some memory leaks - Neal Norwitz
* If DBEnv creation fails, library can crash. (Victor Stinner)
* Raising exceptions while doing a garbage collection
will kill the interpreter. (Victor Stinner)
* Crash in "DB.verify()". Noted by solsTiCe d'Hiver.
Changes:
2009-12-27 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcadb.c (tcadbmisc): the return value of the "getlist" function was modified.
- Release: 1.3.27
2008-12-17 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tchdb.c (tchdbforeach): global locking was replaced by record locking.
* tcbdb.c (tcbdbforeachimpl): cache adjustment was added.
* tcadb.c (tcadbmisc): new function.
- Release: 1.3.26
Features:
- a second axis can now be displayed in rrd_graph. look for
documentation on second-axis. feature was sponsored by VoltWerk.
Bugfixes:
- rrd_fetch: is more careful when seeking. it should not try to seek
outside the file anymore.
- rrd_graph: CDEF:x= raises an error now and does not segfault
- rrd_graph: --font TITLE:12: problem fixed (affecting cacti)
- rrd_graph: make VDEF work with SHIFT (bug #177)
- rrd_xport: make it work when exporting datasources without
uniform step size.
- rrd_tool: rely on function return values and not on errno. (bug #176)
Features:
- a second axis can now be displayed in rrd_graph. look for
documentation on second-axis. feature was sponsored by VoltWerk.
- win32 port of the source. see WIN32-BUILD-TIPS.txt for details.
contributed by exitgames
Bugfixes:
- rrd_fetch: is more careful when seeking. it should not try to seek
outside the file anymore.
- rrd_restore: works on platforms where "NaN" is not represented as
"NaN" works now (HPUX)
- rrd_graph: label ordering in --full-size is correct now.
- ruby bindings: fix for last method
- perl bindings: fix for build on MacOSX
- rrd_update: make sure time stamp of rrd files get updated even on
platforms with broken MS_ASYNC implementations (osx and old linux)
- rrd_graph: CDEF:x= raises an error now and does not segfault
- Solaris isfinite portability improved
- rrd_graph: --font TITLE:12: problem fixed (affecting cacti)
incompatibilities. Here are the major changes.
- Dropped support for Python below 2.3 and PostgreSQL below 7.4.
- Improved performance of fetchall() for large result sets
by speeding up the type casts (as suggested by Peter Schuller).
- Exposed exceptions as attributes of the connection object.
- Exposed connection as attribute of the cursor object.
- Cursors now support the iteration protocol.
- Added new method to get parameter settings.
- Added customizable row_factory as suggested by Simon Pamies.
- Separated between mandatory and additional type objects.
- Added keyword args to insert, update and delete methods.
- Added exception handling for direct copy.
- Release the GIL while making a connection
(as suggested by Peter Schuller).
- If available, use decimal.Decimal for numeric types.
- Allow DB wrapper to be used with DB-API 2 connections
(as suggested by Chris Hilton).
- Made private attributes of DB wrapper accessible.
- Dropped dependence on mx.DateTime module.
- Support for PQescapeStringConn() and PQescapeByteaConn();
these are now also used by the internal _quote() functions.
- Added 'int8' to INTEGER types. New SMALLINT type.
- Added a way to find the number of rows affected by a query()
with the classic pg module by returning it as a string.
For single inserts, query() still returns the oid as an integer.
The pgdb module already provides the "rowcount" cursor attribute
for the same purpose.
- Improved getnotify() by calling PQconsumeInput() instead of
submitting an empty command.
- Removed compatibility code for old OID munging style.
- The insert() and update() methods now use the "returning" clause
if possible to get all changed values, and they also check in advance
whether a subsequent select is possible, so that ongoing transactions
won't break if there is no select privilege.
- Added "protocol_version" and "server_version" attributes.
- Revived the "user" attribute.
- The pg module now works correctly with composite primary keys;
these are represented as frozensets.
- Removed the undocumented and actually unnecessary "view" parameter
from the get() method.
- get() raises a nicer ProgrammingError instead of a KeyError
if no primary key was found.
- delete() now also works based on the primary key if no oid available
and returns whether the row existed or not.
Pkgsrc changes:
o Canonicalize HOMEPAGE
Upstream changes:
# ----------------------------------------------------------
# 0.09002 2008-12-05
# ----------------------------------------------------------
* parsing MySQL CURRENT_TIMESTAMP as scalar ref so it can be produced without
quotes (jgoulah)
* Add ignore_opts parser arg (to ignore table options) in Parser::MySQL
(jgoulah)
* Skip tests for buggy Spreadsheet::ParseExcel versions (rbo)
* Add support for skip tables parser arg in Parser::DBI::MySQL (jgoulah)
* Changed behaviour of ::Producer::Oracle when returning an array of statements
to make it compatible to DBI->do()
* Fixed a few bugs in ::Producer::Oracle
* Applied patch from jgoulah to support mysql's MERGE option
* Applied patch from rbo to add support of multiple database events on a trigger
* Applied patch from lukes to allow drop if exists in sqlite producer, with
version >= 3.3
* Applied patch from rjbs with minor changes, now we support scalar refs in
default values!
* Fixed SQLite producer to end index statements in newlines, in scalar context
* Decreed that all list context statements shall not end in ; or ;\n
* Fixed SQLite, Diff and MySQL producers to agree with Decree.
* Added support for CREATE VIEW + tests in the Pg producer (wreis)
* Added support for CREATE VIEW + tests in the sqlite producer (groditi)
* Added proper argument parsing and documentation to MySQL Parser and
Producer (ribasushi)
* Using DROP VIEW instead of OR REPLACE clause in the Pg producer, as replace
only allows replacement with identical set of columns (wreis)
* Added support for DROP VIEW and fixed CREATE VIEW statement in the sqlite
producer (wreis)
* Removed source_db and target_db accessors from Diff (throwback
to old version, only output_db is used)
* Support for longer varchar fields in MySQL
Pkgsrc changes:
o Fix the problem with the sqlite3-using regression test properly;
apparently sqlite3 thinks it's an error to drop a nonexistent table.
This is a follow-up on CPAN ticket #41769.
o Adapt substitution pattern for sqlite3 after upstream change.
o Add dependency on p5-IPC-Cmd, as per upstream change.
Upstream changes:
0.13 16 Dec 2008
* fixes for Perl 5.10 File::Copy
* use IPC::Cmd::run to create db in t/lib/MyDB.pm
Based on diffs and testing done by Jens Rehsack, while following
up on PR#39232, patch also submitted there.
Pkgsrc changes:
o Support different oracle library options
o Add HOMEPAGE using search.cpan.org
Upstream changes:
Changes in DBD-Oracle 1.21(svn rev 11067) 11th April 2008 ^
Added Notes to README.win32.txt on installing Instant Client
11.1.0.6.0 from John Scoles
Added the oci_typecode_name method to get the name rather than
just the number of an OCI_TYPECODE from John Scoles
Fixed a unreported bug with Embedded Objects from John Scoles
Fixes for #34621 & 33791 from RT cpan
Added patch to allow faster fetch from REF CURSORs from Biswadeep Chowdhury
Updated the Todo file for next version from John Scoles
Added support for the 10.2 Data Interface for Persistent LOBs by John Scoles
Changed the way pre-fetching is done by John Scoles
Added support for Scrollable cursors from John Scoles
Changed the max size of cache_rows to a sb4 rather than a int
and or a ub4 from John Scoles
Added support for Lobs in select of OCI Embedded Objects from
John Scoles with a big thankyou to Paul Weiss
Fixed for embedded object in object from Paul Weiss
Added support for direct insert of large XML data into XMLType
fields from Hendrik Fuss & John Scoles
Fixed memory leak (not releasing Temp Lob with OCILobFreeTemporary)
when created for a bind from John Scoles
Added support for bind_param_inout_array for use with execute_array
from John Scoles
Added enhancement for Embedded Objects handling from Paul G. Weiss
Fixed to Makefile.PL let it read makefiles from other makes from
Alexander V Alekseev
Updated POD to tell users to Avoid Using "SQL Call" from Charles Jardine
Updated POD to account for rt.cpan.org #30910: "DBD-Oracle crashes
when trying to read empty LOB" from John Scoles
Added DBD::Oracle impdata/threads patch from Jeffrey Klein
Changes in DBD-Oracle 1.20(svn rev 10517) 11th January 2008 ^
Fixed lob test so it skips the one test that relies on it if v$
session. from Rafael Kitover
Fixed // with /* */ in dbdimp.c from John Scoles
Fixed for execute_for_fetch in Oracle.pm returning 0 instead of
0E0. from Martin J. Evans
Added README.64bit.txt that contains help for compiling on 64
bit boxes from John Scoles
Fixed typo in Oracle.pm from Tom R.
Added support for ora_charset, ora_ncharset from Stephen J. Smith
Fixed Makefile.PL for better handling of empty array in
File::Find::find from Slaven Rezic
Fixed references to README.clients.txt in Makefile.PL from John Scoles
Added PERL_NO_GET_CONTEXT for better multi-threaded support from John Scoles
Changed required version of DBI to be 1.51 from John Scoles
Fixed bug in 31lob.t from John Scoles
Added notes on installing Instantclient .rpm to README.Lunix.txt
Added support for OCI array bind from Alexander V Alekseev
Added support for select of OCI Embedded Objects from John Scoles
Added a tip in README.64bit.txt from cartmanltd
Added fix to Makefile.PL for finding SQLplus for Ubuntu Server
(but should work for others) from Martin J. Evans
Added fix to Makefile.PL for Gentoo AMD64 from Tom R.
Added fix to dbdimp.c for speed up of Null-Operations from Andreas Behal
Added fix to dbdimp.c for SQLCS_NCHAR index use on varchar2s from
Peter J. Holzer
This despite one of the self-tests failing.
Pkgsrc changes:
o Change HOMEPAGE to using search.cpan.org
Upstream changes:
2.11.7 Released December 13, 2008
- Fix placeholder parsing logic (CPAN bug #41582)
2.11.6 Released November 30, 2008 (subversion r12126)
- Only set UTF8 flag on array items after UTF8 test. (CPAN bug #41253)
[Armando Santos]
2.11.5 Released November 24, 2008 (subversion r12102)
- Clear prepared_statement name on failure to prepare: prevents
the wrong error when using prepare_cached. [GSM]
2.11.4 Released November 12, 2008
- Don't set LC_MESSAGES unless superuser in tests. Remove all
language-specific string checking for tests. (CPAN bug #40604)
2.11.3 Released November 3, 2008 (subversion r12031)
- Force LC_MESSAGES to 'C' inside tests (CPAN bug #40604)
- Minor compiler tweaks.
- Fix small POD error (CPAN bug #40209)
- Tweak Perl::Critic policy list (CPAN bug #40130)
2.11.2 Released October 15, 2008 (subversion r11983)
- Fix core dump when invalid placeholders used. (CPAN bug #40075) [GSM]
2.11.1 Released October 14, 2008 (subversion r11980)
- $sth->{ParamTypes} returns 'TYPE' when possible.
2.11.0 Released October 13, 2008 (subversion r11976)
- $sth->{ParamTypes} now returns a hashref per the DBI docs. [GSM]
- Adjustment of Makefile.PL to fix problem with Strawberry Perl.
Thanks to Martin Evan (martin.evans@easysoft.com) and Brian
(elspicyjack@gmail.com) on the dbi-users list.
2.10.7 Released September 22, 2008 (subversion r11869)
- Fix test issue when dbname contains dashes.
[Rainer Tammer]
- Revert META.yml to 1.0, until such time as tools
can handle 1.1 (CPAN bug #39461) [Taro Nishino]
2.10.6 Released September 19, 2008 (subversion r11830)
- Correctly quote all bytea characters. (CPAN bug #39390) [Rod Taylor]
- Prevent core dump when checking $dbh->{standard_conforming_strings}
on older servers. [GSM]
- Skip unicode tests if server is set to 'LATIN1' [GSM]
2.10.5 Released September 16, 2008 (subversion r11800)
- Fix SIGNATURE file
2.10.4 Released September 16, 2008 (subversion r11797)
- Force use of math library when compiling. Per report
of AIX problems by Rainer Tammer.
2.10.3 Released August 31, 2008 (subversion r11706)
- Previous version had wrong SIGNATURE file
2.10.2 Released August 31, 2008 (subversion r11704)
- Fix minor problem in t/99_yaml.t
2.10.1 Released August 31, 2008 (subversion r11697)
- Minor testing fix.
2.10.0 Released August 26, 2008 (subversion r11678)
- Add the 'DBD' trace setting to output only non-DBI trace messages,
and allow 'dbd_verbose' as a connection attribute for the same
effect. [GSM]
- Fix a minor problem with testing against 7.4 databases [GSM]
- Allow multi-statement do() calls with parameters to work if pg_server_prepare
is set to 0 (CPAN bug #38623) [GSM]
2.9.2 Released August 18, 2008 (subversion r11664)
- Empty Postgres arrays should return empty Perl arrays, not undef.
(CPAN bug #38552) [David E. Wheeler]
2.9.1 Released August 17, 2008 (subversion r11660)
- Return undef when mapping Postgres array to Perl array and
the array is empty '{}'. (CPAN bug #38552) [GSM]
- Minor documentation improvements. [GSM]
2.9.0 Released August 3, 2008 (subversion r11624)
- Add support for database handle attribute "ReadOnly". This allows
use of $dbh->{ReadOnly} = 1 to enforce read only mode at
the server level. [GSM]
- Move PQexec structures to statement handle, to prevent
excessive malloc and free within execute function. [GSM]
- Add more attribute tests, improve testing system. [GSM]
- Many documentation improvements. [GSM]
- Win32 build improvements [T.J. Ferraro]
2.8.7 Released July 24, 2008 (subversion r11582)
- Modify test scripts to work better on FreeBSD boxes. [GSM]
- Much documentation improvement and POD tweaking. [GSM]
2.8.6 Released July 21, 2008 (subversion r11558)
- More testing improvements to increase odds of all tests being
run, especially when testing as root. [GSM]
2.8.5 Released July 13, 2008 (subversion r11529)
- Fix an obscure bug in which a coredump occurs if client_min_messages
is set to DEBUG3 or greater, and we then exit without disconnecting
while AutoCommit is off. The new behavior is to simply not attempt to
output the debugging information about the final 'rollback'. [GSM]
- More documentation improvements. [GSM]
2.8.4 Released July 10, 2008 (subversion r11520)
- Minor Perl::Critic test adjustments. [GSM]
- Documentation enhancements. [GSM]
- Yet more minor testing tweaks. [GSM]
2.8.3 Released July 6, 2008 (subversion r11495)
- Minor testing functionality tweaks, lots of test cleanups, minor doc enhancements. [GSM]
2.8.2 Released June 29, 2008 (subversion r11466)
- Minor testing tweaks, doc fixes. [GSM]
2.8.1 Released June 11, 2008 (subversion r11417)
- Force testing to use a custom socket dir, to avoid
permission problems. Thanks to Frank Wiegand for
help in uncovering this. [GSM]
2.8.0 Released June 1, 2008 (subversion r11366)
- Added in payload strings for LISTEN/NOTIFY in 8.4
via $dbh->pg_notifies() [GSM]
- Fixed problem preventing some pg_type bind_arrays
from working [GSM]
- Fix tests in t.04misc.t to handle Windows newlines.
(CPAN bug #36237) [Ian Macdonald]
- Clean up get_info() information. [GSM]
2.7.2 Released May 14, 2008 (subversion r11269)
- Handle embedded commas in quotes properly when destringifying
arrays.(CPAN bug #35862) [GSM]
- Fix typo in docs with trace_parser_flags() (Martin J. Evans)
- More testing tweaks [GSM]
2.7.1 Released May 11, 2008 (subversion r11250)
- Yet more minor testing tweaks. [GSM]
2.7.0 Released May 10, 2008 (subversion r11239)
- Have $dbh->quote() return E'' when server is >= 8.1 and string contains
backslashes. Fixes any problems with standard_conforming_strings.
(CPAN bug #27538) [GSM]
2.6.6 Released May 7, 2008 (subversion r11214)
- Fix minor problem in t/99_spellcheck.t [GSM]
2.6.5 Released May 7, 2008 (subversion r11209)
- Add spell checker to tests. [GSM]
- More tweaks to the testing suite. [GSM]
2.6.4 Released May 2, 2008 (subversion r11186)
- More tweaks to the test suite. [GSM]
2.6.3 Released May 1, 2008 (subversion r11169)
- Minor tweaks to the test suite. [GSM]
2.6.2 Released April 30, 2008 (subversion r11161)
- Fix coredump when pg_getcopydata copies 0 rows into a
freshly created var. (CPAN bug #35556) [David Harris]
- Allow 'make test' create a test database from scratch if
it cannot find an existing one to use. [GSM]
2.6.1 Released April 22, 2008 (subversion r11133)
- Don't free placeholder section, fixes problem when using
more than one named placeholder with the same name.
(CPAN bug #35303) [GSM]
2.6.0 Released April 16, 2008 (subversion r11095)
- Make pg_notifies a true function, so that you can now
use $dbh->pg_notifies instead of $dbh->func('pg_notifies') [GSM]
- Various performance improvements [GSM]
- Fix minor build and compilation issues with Strawberry Perl [GSM]
- Add Bundle::DBD::Pg [GSM]
2.5.1 Released April 7, 2008 (subversion r11056)
- Correctly handle negative PID numbers on Win32 systems when
generating prepared statement names (CPAN bug # 34738) [GSM]
2.5.0 Released March 23, 2008 (subversion r10990)
- Add pg_enum_values to $dbh->column_info()
[Dave Rolsky] (CPAN ticket #34351)
- Minor test fixes. [GSM]
2.4.0 Released March 21, 2008 (subversion r10974)
- Remove problematic and unneeded Test::Warn test from 00basic.t.
- Add $sth->{pg_current_row} [GSM]
2.3.0 Released March 19, 2008 (subversion r10951)
- Add $sth->{pg_bound} and $sth->{pg_numbound} [GSM]
- Fix broken call to $sth->{pg_segments} [GSM]
Pkgsrc changes:
o Canonicalize HOMEPAGE
o Adjust dependencies to match the new requirements
o Add substitution so that sqlite3 can be picked up by the tests
Upstream changes:
0.12 22 Nov 2008
* add missing req in Makefile.PL
* add IPC::Cmd dep so we can test for sqlite3 in tests
0.11 18 Nov 2008
* base controller no longer sets current_view
* copy all static/css/crud/*.css files for CX::CRUD::YUI 0.008
0.10 29 Sept 2008
* added missing req to Makefile.PL
0.09 11 Sept 2008
* add real tests with example schema supplied by laust from #catalyst
0.09_05 27 Aug 2008
* fix UTF-8 encoding bug where JSON:XS utf8() flag was
incorrectly set to 'on'.
* move bulk of the code into smaller packages:
CatalystX::CRUD::YUI
Rose::HTMLx::Form::Related
Rose::DBx::Object::MoreHelpers
This refactoring means that DBIC users can use all the YUI interface
and RHTMLO goodness as well.
* changed the default root/<dir> to 'crud' instead of 'rdgc'
IF YOU ARE UPGRADING, you can symlink or rename rdgc => crud
0.09_04 11 Aug 2008
* update .tt and .pm files to support multi-column PKs
0.09_03 31 July 2008
* split up rdgc/footer.tt into yui_footer.tt
* add default_sort_by() to Form::Metadata
* toggle rowsPerPage via select popup
* throw_error if !can_read in autocomplete()
* support on* attributes for js in autocomplete
* added RDGC::Excel for .xls output
* refactor the takes_object_as_argument feature
* link_panel now uses same YAHOO ResizePanel widget as addRowPanel
* use double ;; in primary_key_uri_escaped() to match
CatalystX::CRUD 0.28
0.09_02 30 June 2008
* several small bug fixes with .tt files
* allow for related_field mapping at init time
* fix autocomplete CSS
0.09_01 13 Jun 2008
* use column as label if not defined in form
* add support for file upload fields in form.tt
* add support for alternate relationship labels in base Form class
* add support for alternate relationship labels in show_relationships.tt
* tweek the base RDBO flatten() method
* added pseudo_field_labels() method in Form base class
* no 'remove' button if in view mode
* fix bug in yui_datatable_count.tt where js was getting
NaN values if there were no results.
* add 'New' link for each related matrix in show_relationships.tt
* complete refactor of all .tt code to move much of it into
YUI and YUI::DataTable
* complete refactor of all generated code to move much of
it into real base classes and installed .tt
Rose::DBx::AutoReconnect is a subclass of Rose::DB. Additional
features include:
* If using new_or_cached() method, will ping() dbh on every
fetch from cache to ensure that the dbh is connected. This
extends the basic Rose::DB::Cache behaviour beyond
mod_perl/Apache::DBI.
* Convenient logger() method for debugging.
* Always uses DBI connect_cached() method when creating handles.
Rose::DBx::AutoReconnect was written to allow new_or_cached() to
work with MySQL's "morning bug" and to allow for restarting your
database without restarting your application. See also
Rose::DBx::Cache::Anywhere.
Pkgsrc changes:
o Change to Module::Build build method
Upstream changes:
1.0014 Jun 13 23:15:00 2008 EST
- (This version is compatible with 1.0013)
- Fix for RT#36781 (t/44 has an unrequired dependency)
- lock() has been aliased to lock_exclusive(). There is now
a lock_shared() method. The :flock constants are no longer
imported into the DBM::Deep namespace.
**** THIS IS AN API CHANGE ****
Upstream changes:
0.19 12 Dec 2008
* fix long-standing issue with passing additional args to
load() via CXC::Object::RDBO->read
0.18 11 Dec 2008
* fix logic for mangling sort_by with table prefix. If the
sort_by value already has a . (dot) in it, assume the
request knew what it was doing.
* Reorganize the Unix interface in os_unix.c
* Added support for "Proxy Locking" on MacOSX.
* Changed the prototype of the sqlite3_auto_extension() interface in a way
that is backwards compatible but which might cause warnings in new
builds of applications that use that interface.
* Changed the signature of the xDlSym method of the sqlite3_vfs object in
a way that is backwards compatible but which might cause compiler
warnings.
* Added superfluous casts and variable initializations in order to
suppress nuisance compiler warnings.
* Fixes for various minor bugs.
Pkgsrc changes:
- Add build dependency on databases/p5-DBIx-Class for test target
Upstream changes:
0.08 17 Nov 2008
* add unique_value() method similar to Rose::DBx::Object::MoreHelpers
Upstream changes:
0.03 16 Sept 2008
* flatten now just a thin wrapper around as_tree()
core Helper method
0.04 4 Nov 2008
* has_related() now checks if $self can $rel . _count
and tries to handle it sanely if _count is not a method
0.05 4 Nove 2008
* oops. fix 0.04 fix to always turn **integer** not object.
0.06 10 Nov 2008
* add moniker() and unique_value() methods
Upstream changes:
0.15 7 Nov 2008
* (finally) fix load_with to be a real ro_accessor and only
used in _get_objects()
0.16 17 Nov 2008
* pass query if present in *_related() query methods
0.17 25 Nov 2008
* added related_load_with() feature and docs for it and
load_with().
Pkgsrc changes:
- register all dependencies
- add new dependency on devel/p5-Class-Data-Inheritable
Upstream changes:
0.32 21 Oct 2008
* use Class::Data::Inheritable to define delegate_class()
class accessor in base Model
0.33 22 Nov 2008
* fix Tutorial wrt RT#40846
0.34 24 Nov 2008
* fix make_primary_key_string to return undef if multi-col
PK has no values
0.35 24 Nov 2008
* call edit() after initializing object and form with passed
in params, so that the init_form() method can have all data
already set.