Changes:
2009-07-09 Mikio Hirabayashi
* tculog.c (tculogwrite, tculrdread): the master ID is now recorded.
* ttserver.c (main): the default value of the "-ulim" option was modified.
* ttserver.c (proc): update logging and replicaion are now forbidden without the SID.
* ttserver.c (do_repl): the NOP command is now throwed while circular replication.
- Release: 1.1.31
changes: many bugfixes and compatibility fixes
The 2.5.0 version in pkgsrc was broken:
>>> from pysqlite2 import dbapi2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/pkg/lib/python2.5/site-packages/pysqlite2/dbapi2.py", line 27, in <module>
from pysqlite2._sqlite import *
ImportError: /usr/pkg/lib/python2.5/site-packages/pysqlite2/_sqlite.so: Undefined PLT symbol "sqlite3_enable_load_extension" (symnum = 158)
* Fix a bug that occastionally causes INSERT or UPDATE operations to fail on
an indexed table that has a self-modifying trigger.
* Other minor bug fixes and performance optimizations.
Upstream changes:
# ----------------------------------------------------------
# 0.09007 2009-06-25
# ----------------------------------------------------------
* Fixed Pg parser - caching the compiled P::RD schema is a *very*
bad idea
* Fix MSSQL handling of ON UPDATE/DELETE RESTRICT
* Delay MSSQL FK constraint deployment until after all CREATE TABLE
statements
* Coerce other engine's bytea/blob/clob datatypes to VarBinary
- Updating package for p5 module Catalyst::Model::DBIC::Schema from
0.23 to 0.25
- Setting LICENSE=${PERL5_LICENSE} according META.yml
- Adjusting dependencies according to META.yml
Upstream changes:
0.25 Fri Jun 19 08:35:38 PDT 2009
- fix dep on Tie::IxHash that made tests fail
- add more attributes to ::Replicated trait
- fixed infinte loop in helper if SQLite connect_info has only
a DSN (dandv, RT #47101)
0.24 Tue Jun 16 06:18:58 PDT 2009
- Add tests for issues with Class::C3 which are caused to
applications which use new Catalyst but old DBIC, and have
use Class::C3 in the MyApp class (t0m)
- die on empty schema
- create=dynamic deprecation warning
- helper passes loader opts to dynamic schemas
- conversion to Moose
- cursor caching support (via
Catalyst::TraitFor::Model::DBIC::Schema::Caching)
- ::Storage::Replicated support (via ::Replicated trait)
- switch to hashref connect_info for DBIC 8100
- better helper option parsing, with support for more options
- more tests
- Updating package for p5 module DBD::mysql from 4.010 to 4.012
- Setting LICENSE=${PERL5_LICENSE}
Upstream changes:
2009-06-18 Patrick Galbraith <patg@patg.net> (4.012)
* Patch to bind_type_guessing from Craigslist,
Thanks to Chris! Happiness is no quoted numbers.
Fixed ChopBlanks to work with bind_type_guessing
* Patch for win32 strawberry build
Thanks to Curtis Jewell! Windows needs love
* Patch for auto-reconnect to set active flag
Thanks to Doug Fischer!
* Fixed bug 32464 http://bugs.mysql.com/bug.php?id=32464.
See https://rt.cpan.org/Ticket/Display.html?id=46308
Add connection flag mysql_no_autocommit_cmd which users of
MySQL Proxy can use to prevent 'set autocommit=#' from being
issued by the driver. 'perldoc DBD::mysql' to see how to use
this new flag
* Added bind-type-guessing options to Makefile.PL so the entire
test suite can be run with bind_type_guessing set.
2009-04-13 Patrick Galbraith <patg@patg.net> (4.011)
* Renamed unsafe_bind_type_guessing, fixed some of the logic. This
can be used to deal with bug 43822
(https://rt.cpan.org/Ticket/Display.html?id=43822)
* Patch from Daniel Frett (daniel Dot frett At ccci Dot org) to fix
issue of binding sever side integer parameters (server-side prepare
statements) resulting in corrupt data, bug 42723
(https://rt.cpan.org/Ticket/Display.html?id=42723)
* Updated documentation, cruft cleanup (as always)
- Updating package for p5 module DBIx::Class::Validation from 0.02003nb2
0.02004
- Adding LICENSE=${PERL5_LICENSE} according to META.yml
- Adjusting dependencies according to META.yml
Upstream changes:
0.02004 Mon Jun 22 12:52:00 2009
- Switch dependency to DateTime::Format::SQLite
- Updating package of p5 module DBIx::Class::TimeStamp from 0.08 to 0.12
- Adjusting license to perl's license according to META.yml
- Adjusting dependencies according to META.yml
Upstream changes:
0.12 2009-06-30 22:25:17
- Ship with a pregenerated sql schema for the tests to avoid the test
dependency on SQL-Translator.
0.11 2009 07-32 14:43:00
- Make sure tests run at the 'top' of the second to reduce pointless
errors resulting when your test time crosses the second limit.
0.10 2009 07-32 13:55:00
- Restored the MySQL formatter to the build requires to silence test
failures.
0.09 2009 07-21 20:45:00
- Changed some dependencies in the Makefile.PL so that we find the correct
datetime formatter class for the SQLite testing
- Updating package for p5 module DBIx::Class::Fixtures from 1.001001
to 1.001002
- Adding perl license as license
- Adjust dependencies according to META.yml
Upstream changes:
1.001002
- Allow passing schema object to ->populate
- Check that fixture population dir was created
as dependency of scheduled update of databases/p5-Catalyst-Model-DBIC-Schema.
This is a Catalyst Model for DBIx::Class::Schema-based Models. See the
documentation for Catalyst::Helper::Model::DBIC::Schema and
Catalyst::Helper::Model::DBIC::SchemaLoader for information on
generating these Models via Helper scripts. The latter of the two will
also generated a DBIx::Class::Schema::Loader-based Schema class for you.
- Updating package of p5 module CatalystX::CRUD::Model::RDBO from 0.20
to 0.22 to avoid incompatibilities to currently updated
Catalyst::Runtime
- Setting license to PERL5_LICENSE according to module documentation
- Adjusting dependencies according to META.yaml
Upstream changes:
0.22 13 June 2009
* fix tests for UPPERCASE normalize in newer Sort::SQL of ORDER BY string direction
0.21 13 June 2009
* fix multiple ORDER BY columns with comma-join (see RT 46904)
* explicitly call ->delegate->meta to fix moosification issue with Catalyst 5.8x
- Updating package of p5 module CatalystX::CRUD from 0.43 to 0.45 as
dependency of scheduled update of CatalystX::CRUD::Model::RDBO
- Adjusting license to ${PERL5_LICENSE} according to module documentation
- Adjusting dependencies according to META.yaml
Upstream changes:
0.45 13 June 2009
* fix multi-column sort via cxc-order param (requires Sort::SQL 0.04)
0.44 23 May 2009
* check for symlink() support in Model::File at compile time and return from rm_related()
if not supported. Fixes spurious test breakage on Win32.
See https://rt.cpan.org/Ticket/Display.html?id=46314
- Updating package of p5 module Sort::SQL from 0.05 to 0.06 as dependency
of scheduled update of CatalystX::CRUD::Model::RDBO
Upstream changes:
0.06 14 June 2009
- refactor for parse() method
- Updating package of p5 module DBIx::Class from 0.08103 to 0.08107
- Adjusting dependencies according to META.yaml
- Adjusting LICENSE according to META.yaml
- Setting module type to Module::Install
Upstream changes:
0.08107 2009-06-14 08:21:00 (UTC)
- Fix serialization regression introduced in 0.08103 (affects
Cursor::Cached)
- POD fixes
- Fixed incomplete ::Replicated debug output
0.08106 2009-06-11 21:42:00 (UTC)
- Switched SQLite storage driver to DateTime::Format::SQLite
(proper timezone handling)
- Fix more test problems
0.08105 2009-06-11 19:04:00 (UTC)
- Update of numeric columns now properly uses != to determine
dirtyness instead of the usual eq
- Fixes to IC::DT tests
- Fixed exception when undef_if_invalid and timezone are both set on
an invalid datetime column
0.08104 2009-06-10 13:38:00 (UTC)
- order_by now can take \[$sql, @bind] as in
order_by => { -desc => \['colA LIKE ?', 'somestring'] }
- SQL::Abstract errors are now properly croak()ed with the
correct trace
- populate() now properly reports the dataset slice in case of
an exception
- Fixed corner case when populate() erroneously falls back to
create()
- Work around braindead mysql when doing subquery counts on
resultsets containing identically named columns from several
tables
- Fixed m2m add_to_$rel to invoke find_or_create on the far
side of the relation, to avoid duplicates
- DBIC now properly handles empty inserts (invoking all default
values from the DB, normally via INSERT INTO tbl DEFAULT VALUES
- Fix find_or_new/create to stop returning random rows when
default value insert is requested (RT#28875)
- Make IC::DT extra warning state the column name too
- It is now possible to transparrently search() on columns
requiring DBI bind (i.e. PostgreSQL BLOB)
- as_query is now a Storage::DBI method, so custom cursors can
be seamlessly used
- Fix search_related regression introduced in 0.08103
- Updating package of p5 module SQL::Translator from 0.09004 to 0.09006
- Setting license to gnu-gpl-v2
- Adjusting dependencies according to Makefile.PL
Upstream changes:
# ----------------------------------------------------------
# 0.09006 2009-06-10
# ----------------------------------------------------------
* Multiple test and dependency adhustments to make smokers happy
* Fix YAML producer wrt extra attribute
* Added support for "time(stamp) (p) with time zone" for Pg producer (mo)
# ----------------------------------------------------------
# 0.09005 2009-06-08
# ----------------------------------------------------------
* Add parser support for MySQL default values with a single quote
* Properly quote absolute table names in the MySQL producer
* Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis)
* Added CREATE VIEW subrules for mysql parser (wreis)
* ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo)
* XML parser support for multi-event triggers
* SQLite producer support for multi-event triggers
* XML parser switched from XML::XPath to XML::LibXML
* Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support
* MySQL producer skips length attribute for columns which do not support that
attribute. Currently following column types are added to that list:
date time timestamp datetime year
* Switch to Module::Install (mandates minimum perl 5.005)
* Major cleanup of GraphViz proucer
* Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers
Fix most of the problems uncovered by the roundtrip test framework
Some highlights:
- Rewind exhausted globs before attempting a read
- Do not add xml comment header if no_comments is set
- table/field counts are held per schema object, not globally
- no more variable table and column names in SQLite and MSSQL
- VIEW support for Pg parser, also some cleanups
- The way we generate Pg create view statements was not standards compliant
(per RhodiumToad in #postgresql)
- Disable MSSQL view/procedure production - they never worked in the first place
- SQLite/MSSQL improvements:
- Support parsing of all DROP clauses
- Support parsing of field-level comments
- When producing do not append table names to constraint/index names
This Template Toolkit plugin module provides an interface to the Perl DBI/DBD
modules, allowing to integrate SQL queries into template documents. It also
provides an interface via the Tie::DBI module (if installed) so that database
records can be accessed without having to embed any SQL in templates.
This module allows you to tie Perl associative arrays (hashes) to SQL
databases using the DBI interface. The tied hash is associated with a
table in a local or networked database. One column becomes the hash key.
Each row of the table becomes an associative array, from which individual
fields can be set or retrieved.
- Updating package of p5 module for Sort::SQL from 0.03nb1 to 0.05
- Setting license to ${PERL5_LICENSE} according to module's doc
Upstream changes:
0.04 13 June 2009
- support comma-separated pairs
- refactor to fix bug with two columns with same name.
0.05 13 June 2009
- fix regexp for pair separation introduced in 0.04
- Updating package of p5 module for SQL::Abstract from 1.55 to 1.56
- Adjusting build type to Module::Install
Upstream changes:
revision 1.56 2009-05-30 16:31 (UTC)
----------------------------
- support for \[$sql, @bind] in order_by clauses e.g.:
{ -desc => \['colA LIKE ?', 'somestring'] }
- Updating package of p5 module DBD::ODBC from 1.21 to 1.22
- Adjusting LICENSE to ${PERL5_LICENSE} according to META.yaml
Upstream changes:
* Changes in DBD::ODBC 1.22 June 10, 2009
Fixed bug which led to "Use of uninitialized value in subroutine
entry" warnings when writing a NULL into a NVARCHAR with a
unicode-enabled DBD::ODBC. Thanks to Jirka Novak and Pavel Richter who
found, reported and patched a fix.
Fixed serious bug in unicode_helper.c for utf16_len which I'm ashamed to
say was using an unsigned short to return the length. This meant you
could never have UTF16 strings of more than ~64K without risking serious
problems. The DBD::ODBC test code actually got a
*** glibc detected *** /usr/bin/perl: double free or corruption
(out): 0x406dd008 ***
If you use a UNICODE enabled DBD::ODBC (the default on Windows) and
unicode strings larger than 64K you should definitely upgrade now.
* Changes in DBD::ODBC 1.21_1 June 2, 2009
Fixed bug referred to in rt 46597 reported by taioba and identified by
Tim Bunce. In Calls to bind_param for a given statement handle if you
specify a SQL type to bind as, this should be "sticky" for that
parameter. That means if you do:
$sth->bind_param(1, $param, DBI::SQL_LONGVARCHAR)
and follow it up with execute calls that also specify the parameter:
$sth->execute("a param");
then the parameter should stick with the SQL_LONGVARCHAR type and not
revert to the default parameter type. The DBI docs (from 1.609)
make it clear the parameter type is sticky for the duration of the
statement but some DBDs allow the parameter to be rebound with a
different type - DBD::ODBC is one of those drivers.
- Updating package of p5 module DBI & Co. from 1.608 to 1.609
- Setting LICENSE to ${PERL5_LICENSE} according to META.yaml
- Removing dependency to devel/p5-Test-Simple: required version is
in pkgsrc distributed perl core
Upstream changes:
Fixes to DBD::File (H.Merijn Brand)
added f_schema attribute
table names case sensitive when quoted, insensitive when unquoted
workaround a bug in SQL::Statement (temporary fix) related
to the "You passed x parameters where y required" error
Added ImplementorClass and Name info to the "Issuing rollback() due to
DESTROY without explicit disconnect" warning to identify the handle.
Applies to compiled drivers when they are recompiled.
Added DBI->visit_handles($coderef) method.
Added $h->visit_child_handles($coderef) method.
Added docs for column_info()'s COLUMN_DEF value.
Clarified docs on stickyness of data type via bind_param().
Clarified docs on stickyness of data type via bind_col().
Pkgsrc changes:
- Adjust dependencies.
Upstream changes:
0.08103 2009-05-26 19:50:00 (UTC)
- Multiple $resultset -> count/update/delete fixes. Now any
of these operations will succeed, regardless of the complexity
of $resultset. distinct, group_by, join, prefetch are all
supported with expected results
- Return value of $rs->delete is now the storage return value
and not 1 as it used to be
- don't pass SQL functions into GROUP BY
- Remove MultiDistinctEmulation.pm, effectively deprecating
{ select => { distinct => [ qw/col1 col2/ ] } }
- Change ->count code to work correctly with DISTINCT (distinct => 1)
via GROUP BY
- Removed interpolation of bind vars for as_query - placeholders
are preserved and nested query bind variables are properly
merged in the correct order
- Refactor DBIx::Class::Storage::DBI::Sybase to automatically
load a subclass, namely Microsoft_SQL_Server.pm
(similar to DBIx::Class::Storage::DBI::ODBC)
- Refactor InflateColumn::DateTime to allow components to
circumvent DateTime parsing
- Support inflation of timestamp datatype
- Support BLOB and CLOB datatypes on Oracle
- Storage::DBI::Replicated::Balancer::Random:
added master_read_weight
- Storage::DBI::Replicated: storage opts from connect_info,
connect_info merging to replicants, hashref connect_info support,
improved trace output, other bug fixes/cleanups
- distinct => 1 with prefetch now groups by all columns
- on_connect_do accepts a single string equivalent to a one
element arrayref (RT#45159)
- DB2 limit + offset now works correctly
- Sybase now supports autoinc PKs (RT#40265)
- Prefetch on joins over duplicate relations now works
correctly (RT#28451)
- "timestamp with time zone" columns (for Pg) now get inflated with a
time zone information preserved
- MSSQL Top limit-emulation improvements (GROUP BY and subquery support)
- ResultSetColumn will not lose the joins infered from a parent
resultset prefetch
changes:
-Compatibility with Python 3.0.1
-"DB.has_key()" used to return 0 or 1. Changed to return
True or False instead. Check your code!
-Change "DBSequence.init_value()" to "DBSequence.initial_value()",
for consistence with Berkeley DB real method name. This could
require minimal changes in your code. The documentation was
right.
-add more bindings
remaining dependency on perl >= 5.6.1nb2, we're long past that point,
and perl5's module.mk makes a dependency on the current perl anyway.
No PKGREVISION bump, contents doesn't change in any meaningful way.
Change prompted by report from Aleksey Cheusov.
Changes:
2009-05-20 Mikio Hirabayashi <mikio@users.sourceforge.net>
* ttserver.c (do_task): a potential bug of memory leak was fixed.
* tcrdb.c (tcrdbnew): a bug related to initialization was fixed.
* scrext.c (serv_fwmkeys, serv_regex): new functions.
- Release: 1.1.28
----------------------------------------------------------------
Released 2.3.8 2009-04-30
Changes since 2.3.7:
Lib/
* ldap.schema.models: More fault-tolerant parsing of SYNTAX in
AttributeTypeDescription
* ldap.schema.tokenizer.split_tokens():
More tolerant parsing of items separated only with a DOLLAR without
surrounding white-spaces (because WSP is declared as zero or more spaces
in RFC 4512)
----------------------------------------------------------------
Released 2.3.7 2009-04-09
Changes since 2.3.6:
Lib/
* urllib.quote() is now used in LDAPUrlExtension.unparse() to quote
all special URL characters in extension values
Modules/
* Fixed ldapcontrol.c not to raise ldap.ENCODING_ERROR in
function encode_rfc2696() on 64-bit systems
* Fixed seg fault if error code in a LDAP response was outside
the known error codes and could not be mapped to a specific
exception class (thanks to Sean)
* errors.c: LDAP_ERROR_MAX set to LDAP_PROXIED_AUTHORIZATION_DENIED
if available in OpenLDAP header
* new exception class ldap.PROXIED_AUTHORIZATION_DENIED
if available in OpenLDAP header
* Fixed functions.c not to raise ldap.ENCODING_ERROR in
function l_ldap_str2dn() on 64-bit systems (see SF#2725356)
----------------------------------------------------------------
Released 2.3.6 2009-02-22
Changes since 2.3.5:
Lib/
* Importing ldap.str2dn() which directly imported _ldap.str2dn()
is prohibited now (see SF#2181141)
Modules/
* get_option(): Added support for reading more SASL options.
(OPT_X_SASL_MECH, OPT_X_SASL_REALM, OPT_X_SASL_AUTHCID and
OPT_X_SASL_AUTHZID)
* Added some explicit type casts to fix issues while building
with SunStudio
* Fixed compiling issue with GCC 4.4
(see SF#2555793, thanks to Matej and Martin)
Doc/
* Clarified not to use ldap_get_dn() directly
* Fixed description of ldap.SASL_AVAIL and ldap.TLS_AVAIL
(see SF#2555804, thanks to Matej and Martin)
----------------------------------------------------------------
Released 2.3.5 2008-07-06
Changes since 2.3.4:
Lib/
* Fixed methods ldap.cidict.__contains__() and
ldap.schema.models.Entry.__contains__()
* FWIW method LDAPObject.cancel_s() returns a result now
* Fixed ldap.schema.models.NameForm: Class attribute oc is now
of type string, not tuple to be compliant with RFC 4512
----------------------------------------------------------------
Released 2.3.4 2008-03-29
Changes since 2.3.3:
Modules/
* Fixed seg fault when calling LDAPObject.get_option()
(see SF#1926507, thanks to Matej)
----------------------------------------------------------------
Released 2.3.3 2008-03-26
Changes since 2.3.2:
Fixed backward-compability when building with OpenLDAP 2.3.x libs.
----------------------------------------------------------------
Released 2.3.2 2008-03-26
Changes since 2.3.1:
Lib/
* ldap.dn.escape_dn_chars() now really adheres to
RFC 4514 section 2.4 by escaping null characters and a
space occurring at the beginning of the string
* New method ldap.cidict.cidict.__contains__()
* ldap.dn.explode_dn() and ldap.dn.explode_rdn()
have a new optional key-word argument flags which is
passed to ldap.dn.str2dn().
Modules/
* Removed unused OPT_PRIVATE_EXTENSION_BASE from constants.c
Doc/
* Various additions, updates, polishing (thanks to James).
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 Java binding of Tokyo Cabinet.
- python bindings memory handling fix by Anders Hammarquist
(deb bug #529291)
- fix getopt_long integration on Solaris. Depending on the phase of
the moon this bug had caused rrdtool to crash reliably as soon as
it read its arguments. Especially when used in language bindings.
Thanks to Ihsan Dogan for helping with the debugging.
- rrd_restore used casting a bit to liberally this caused it to fail
horribly on 64bit platforms. Patch based in input provided by
poster of rrd bug #218.
- make ruby bindings compile with newer ruby versions. #217 patch
provided by rrd trac user
- Generate an error message when using RRDp with graph - this can
not work reliably. (Debian Bug#251701) patch by Sebastian Harl
* Fix a bug in group_concat().
* Fix a performance bug in the pager cache.
* Fix a bug in the sqlite3_backup implementation that can lead to a corrupt
backup database.
- Updating package for p5 module DBIx::SearchBuilder from 1.54 to 1.55
- Setting gnu-gpl-v2 as license
- reordering dependencies
Upstream changes:
1.55 Thu May 7 19:44:47 MSD 2009
* Put test suite SQLite databases inside of tempdirs so they get
garbage collected properly. Thanks to Andreas Koenig
[rt.cpan.org #41322]
* Allow ->Join to pre-existing collection object
* Imlement and test SB::Handle::Fields
* Pg can not guaranty order in the following queries:
SELECT ... FROM (SELECT... ORDER BY ...)
we use them to build distinct sets with ordering by columns
in joined tables. Switched to group by instead of sub-selects.
- Updating package for p5 module Rose::DB from 0.751 to 0.752
- Fixing dependency
Upstream changes:
0.752 (05.08.2009) - John Siracusa <siracusa@gmail.com>
* Added workaround for the lack of getpwuid() on Windows.
* SQLite column and table names are not properly unquoted when
necessary. (RT 45836)
* Indicate that MySQL 5.0.45 and later supports selecting from
a subselect.
- Updating package for p5 module SQL::Abstract from 1.53 to 1.55
- Adjusting dependencies (and arrange them to alphabetical order)
Upstream changes:
revision 1.55 2009-05-17 22:54 (UTC)
----------------------------
- make sure that sql generation does not mutate the supplied
where condition structure
revision 1.54 2009-05-07 17:23 (UTC)
----------------------------
- allow special_operators to take both code refs and method names
(makes it possible to properly subclass the builtin ones)
Changes:
2009-05-09 Mikio Hirabayashi <mikio@users.sourceforge.net>
* ttutil.c (ttservsettermhandler): new function.
* ttserver.c (do_term): new function.
- Release: 1.1.26
2009-05-06 Mikio Hirabayashi <mikio@users.sourceforge.net>
* ttutil.c (ttcmdidtostr): new function.
* tculog.c (tcreplopen): a bug of data size of the server ID was fixed.
* tcrdb.c (tcrdbsetmst, tcrdbsetmst2): the timestamp argument was added.
* tcrmgr.c (procrepl): command names are now printed.
* ttulmgr.c (procexport): command names are now printed.
- Release: 1.1.25
Changes:
2009-05-08 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.h: signedness of some members of TCMAP and TCTREE were changed.
* tcutil.c (tchexdecode): a bug related to handling space characters was fixed.
- Release: 1.4.20
Changes:
2009-04-25 Mikio Hirabayashi <mikio@users.sourceforge.net>
* ttutil.c (ttbreakservexpr): new function.
* tcrdb.c (tcrdbopen2, tcrdbsetmst2, tcrdbtune): new functions.
* tcrdb.c (tcrdbsetecode, tcrdblockmethod, tcrdbunlockmethod): new functions.
* ttserver.c (proc): dynamic linking for the skeleton database was added.
* ttskelmock.c, ttskelproxy.c: new files.
- Release: 1.1.24
2009-04-07 Mikio Hirabayashi <mikio@users.sourceforge.net>
* scrext.c (serv_eval, serv_split): new functions.
* ttserver.c (do_repl): efficiency on dual-master replication was improved.
* ttserver.c (do_optimize): new function.
* ttserver.c (do_log): message format was modified.
* tcrdb.c (tcrdboptimize): new function.
* tcrdb.c (tcrdbvanish, tcrdbcopy, tcrdbrestore): each magic number was drifted.
* tcrdb.c (tcrdbrestore, tcrdbsetmst): an argument for options was added.
* tculog.c (tculogadbredo): the flag of consistency checking was separated.
- Release: 1.1.23
2009-04-06 Mikio Hirabayashi <mikio@users.sourceforge.net>
* scrext.c (serv_mapreduce): the parameter for the target keys became an option.
- Release: 1.1.22
2009-04-06 Mikio Hirabayashi <mikio@users.sourceforge.net>
* scrext.c (serv_mapreduce): the parameter for the session ID was abolished.
- Release: 1.1.21
2009-04-01 Mikio Hirabayashi <mikio@users.sourceforge.net>
* configure.in: a bug related to support for traditional shells was fixed.
* scrext.c (serv_stashputkeep, serv_stashputcat): new functions.
* scrext.c (serv_mapreduce, serv_mapreducemapemit): new functions.
* ttserver.c (do_put, do_out, do_get): parameter validation was enhanced.
- Release: 1.1.20
2009-03-14 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcrdb.c (tcrdbqrysearchget): the option for no update log was added.
* tcrdb.c (tcrdbqrysearchcount): new function.
* tculog.c (tcreplread): timeout mechanism was added.
* ttserver.c (do_repl): performance was improved.
- Release: 1.1.19
* Added the optional asynchronous VFS module.
* Enhanced the query optimizer so that virtual tables are able to make use of
OR and IN operators in the WHERE clause.
* Speed improvements in the btree and pager layers.
* Added the SQLITE_HAVE_ISNAN compile-time option which will cause the isnan()
function from the standard math library to be used instead of SQLite's own
home-brew NaN checker.
* Countless minor bug fixes, documentation improvements, new and improved
test cases, and code simplifications and cleanups.
- Updating package for p5 DBI module's from 1.607 to 1.608
Upstream changes:
* Changes in DBI 1.608 (svn r12742) 5th May 2009
Fixes to DBD::File (H.Merijn Brand)
bind_param () now honors the attribute argument
added f_ext attribute
File::Spec is always required. (CORE since 5.00405)
Fail and set errstr on parameter count mismatch in execute ()
Fixed two small memory leaks when running in mod_perl
one in DBI->connect and one in DBI::Gofer::Execute.
Both due to "local $ENV{...};" leaking memory.
Fixed DBD_ATTRIB_DELETE macro for driver authors
and updated DBI::DBD docs thanks to Martin J. Evans.
Fixed 64bit issues in trace messages thanks to Charles Jardine.
Fixed FETCH_many() method to work with drivers that incorrectly return
an empty list from $h->FETCH. Affected gofer.
Added 'sqlite_' as registered prefix for DBD::SQLite.
Corrected many typos in DBI docs thanks to Martin J. Evans.
Improved DBI::DBD docs thanks to H.Merijn Brand.
- Updating package for p5 module DBIx::Class::Schema::Loader from
0.04005 to 0.04006
- Setting license to gnu-gpl-v2
- Adjusting and reordering dependencies
Upstream changes:
0.04006 2009-05-01
- Fix Oracle constraint detection for non-owned schemas (RT #35732)
- Add result_base_class and schema_base_class options (RT #43977)
- Handle ResultSetManager deprecation warning in common tests
- Fix for DBIx::Class 0.081
- Updating package for p5 module of DBIx::Class from 0.08101 to 0.08102
Upstream changes:
0.08102 2009-04-30 08:29:00 (UTC)
- Fixed two subtle bugs when using columns or select/as
paired with a join (limited prefetch)
- Fixed breakage of cdbi tests (RT#45551)
- Some POD improvements
- Updating package for p5 module DBIx::Class::TimeStamp from 0.07 to 0.08
- Setting license to gnu-gpl-v2
- Adjusting dependencies
Upstream changes:
0.08 2009-04-24 00:39:45
- Adds the missing description to the NAME section (Brian Cassidy).
- Updating package for p5 module of CatalystX::CRUD::ModelAdapter::DBIC
from 0.07 to 0.08
- Setting license to gnu-gpl-v2
- Adjusting dependencies
Upstream changes:
0.08 29 April 2009
* switch to MRO::Compat from Class::C3
- Updating package for p5 module of CatalystX::CRUD::Model::RDBO from
0.19 to 0.20
- Adjusting dependencies
Upstream changes:
0.20 29 April 2009
* switch to MRO::Compat from Class::C3
* fixes for CatalystX::CRUD 0.43
- Updating package for p5 module Rose::DB::Object from 0.770 to 0.781
- Setting license to gnu-gpl-v2
- Adjusting dependencies
Upstream changes:
0.781 (04.19.2009) - John Siracusa <siracusa@gmail.com>
* Added an explicit SQL_BLOB bind_param() argument for blob columns
in SQLite. (Reported by clausi)
* Added manager_iterator_method and support for manager_count_method
and manager_delete_method to relevant Relationship classes.
(Patch by Peter Karman)
* Updated test suite to consider DBD::SQLite 1.19+ non-broken.
0.780 (03.04.2009) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that caused the delete_relationships() Metadata method
to fail in some circumstances. (Reported by vti)
* Fixed a few accessor/mutator mismatches in relationship methods.
(Reported by Bharanee)
0.779 (02.26.2009) - John Siracusa <siracusa@gmail.com>
* Added missing documentation on one-to-many and many-to-many
relationship "iterator" and "find" method type names.
* Corrected an error message in Rose::DB::Object::MakeMethods::Generic
(RT 43667)
0.778 (02.06.2009) - John Siracusa <siracusa@gmail.com>
* Added PostgreSQL's "ltree" query extensions to QueryBuilder.
(Patch by Rick Apichairuk)
* Improved the efficiency of the check-and-merge function used
when related objects are added. (Reported by Bryan Opfer)
0.777 (12.12.2008) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that caused foreign key proxy relationships to
be clobbered if relationships were set after foreign_keys.
(Reported by Peter Karman)
0.776 (12.09.2008) - John Siracusa <siracusa@gmail.com>
* Fixed a bug that was preventing the use of new comparison
operators with QueryBuilder. (Reported by Derek Wueppelmann)
* Added a strict_ops parameter and class method to the Manager
to allow the policy to b changed per-call or per-class.
* Auto-initialization under Oracle should no longer be confused
by tables with the same names in different schemas. (Patch by
Benjamin Hitz)
* Removed the on-again, off-again restriction on aliasing primary
key columns. I think it's off for good this time.
* Refined column alias policy to keep from appearing to override
more granular column method name customization.
* Overhauled related object mutator methods to better match the
documentation and reduce unnecessary queries.
* Fixed a bug that caused the init_with_tree() helper method to
overwrite columns involved in relationship mapping in some
circumstances. (Reported by Todd Lyons)
0.775 (11.02.2008) - John Siracusa <siracusa@gmail.com>
* The insert_or_update(), load_or_insert(), and load_or_save() helper
methods no longer throw an exception when called on an object with
no uniquely identifying column(s). (Suggested by Richard Jones)
* Added detection of minimum JSON version (2.00) to test suite and
the Helpers module.
0.774 (10.25.2008) - John Siracusa <siracusa@gmail.com>
* Setting objects related through a one-to-many relationship
now does more work to ensure success. (Reported by vti and
David Bourget)
* Fixed an ON DUPLICATE KEY UPDATE test to work around a MySQL
"strict mode" quirk (or, IMO, "bug") which causes it to complain
about a situation that is only a concern if it decided to do an
INSERT rather than an UPDATE. (Reported by Richard Jones)
* Fixed a regression in t/spot-check-10.t: adding objects to
one-to-many-related lists failed in some circumstances.
* Updated auto-initialization examples in the synopsis.
0.773 (10.02.2008) - John Siracusa <siracusa@gmail.com>
* Added support for multiple add_on_save calls prior to save(),
which is how everyone expected it to behave anyway, and how the
documentation always seemed to imply that it did work. Well,
now it does.
* Pre-saved objects now get their foreign key columns hooked up
correctly when passed as arguments to add_on_save methods.
(Reported by George Hartzell)
* ...-to-many related object lists will now be re-fetched on
demand after an add_on_save and a subsequent save().
(Reported by George Hartzell)
0.7722 (09.29.2008) - John Siracusa <siracusa@gmail.com>
* Fixed compatibility with older versions of ExtUtils::MakeMaker.
0.7721 (09.29.2008) - John Siracusa <siracusa@gmail.com>
* Updated distribution metadata for ExtUtils::MakeMaker 6.44.
* Added a column type mapping for MySQL's MEDIUMINT type.
(Reported by Andreas Dewes)
0.772 (09.26.2008) - John Siracusa <siracusa@gmail.com>
* Altered Rose::DB::Object::Cached to override insert() and
update methods. (Suggested by Kevin McGrath)
* The update() method now marks updated objects as being in the
database (see is_in_db() in Rose::DB::Object::Util) (Suggested
by Kevin McGrath)
* The insert_or_update() and insert_or_update_on_duplicate_key()
helper methods now call save() instead of insert() or update()
(passing the appropriate flags to cause an insert or update) in
order also save child objects. (Suggested by Kevin McGrath)
* The set_column_value_modified() function in Rose::DB::Object::Util
now also clears any "db-ready" column value the object may be
holding for that column.
* Added a dirty_columns() helper method (Suggested by jdv79)
0.7713 (09.16.2008) - John Siracusa <siracusa@gmail.com>
* More test skipping fixes.
0.7712 (09.15.2008) - John Siracusa <siracusa@gmail.com>
* Improved detection of broken DBD::SQLite versions.
0.7711 (09.15.2008) - John Siracusa <siracusa@gmail.com>
* Fixed typos in POD.
* Improved test skipping conditions.
* Clarified JSON module version requirements.
0.771 (09.12.2008) - John Siracusa <siracusa@gmail.com>
* Traversal and recursive serialization helper method added.
* Non-persistent columns feature added.
* Made "where" an alias for the Manager's "query" parameter.
(Requested by Ask Bj~A,rn Hansen)
* Documented restrictions on the Manager's "select" parameter.
* Fixed bug that prevented CURRENT_TIMESTAMP from being properly
inlined in queries sent to SQLite. (RT 37224)
* Fixed a memory leak. (Reported by Christopher Laco)
* The "cluck" error mode now correctly calls cluck() rather than
croak(). (Reported by Kevin McGrath)
* Added support for Oracle date/time column keywords.
* Cascaded delete now properly cascades to one-to-one related objects.
(Reported by kittens)
- Updating package for p5 module Rose::DB from 0.744 to 0.751
- Adjusting dependencies
- Setting license to gnu-gpl-v2
Upstream changes:
0.751 (04.19.2009) - John Siracusa <siracusa@gmail.com>
* Worked around a mod_perl 2 issue related to PerlOptions +Parent
http://bit.ly/160jLN (Reported by Anton)
* Updated test suite to consider DBD::SQLite 1.19+ non-broken.
0.750 (02.26.2009) - Peter Karman <perl@peknet.com>
* Added pg_enable_utf8 attribute.
0.749 (12.12.2008) - John Siracusa <siracusa@gmail.com>
* Added support for many more registry entry attributes.
* More mod_perl 2.x fixes for Rose::DB::Cache. (Reported by
Kostas Chatzikokolakis)
* Added apache_has_started attribute to Rose::DB::Cache to support
mod_perl 2.x users who do not have the ability to run code on
server startup. (Suggested by Kostas Chatzikokolakis)
0.748 (12.09.2008) - John Siracusa <siracusa@gmail.com>
* Fixed mod_perl 2.x support in Rose::DB::Cache. (Reported by
Kostas Chatzikokolakis)
* Resolved ambiguous driver_class link in POD.
0.747 (10.22.2008) - Justin Ellison <justin@techadvise.com>
* Changed to require YAML instead of YAML::Syck, though YAML::Syck
will be used in preference to YAML if it's present. (RT 31535)
0.746 (09.16.2008) - Justin Ellison <justin@techadvise.com>
* Fixed support for TIMESTAMP WITH TIME ZONE column in Oracle.
0.745 (09.12.2008) - John Siracusa <siracusa@gmail.com>
* Added support for Oracle date/time column keywords.
* Added methods to list cached db entries and keys.
- Updating package for p5 module SQL::Abstract from 1.51 to 1.53
- Setting license to gnu-gpl-v2
Upstream changes:
revision 1.53 2009-04-30 14:58 (UTC)
----------------------------
- make sure hash keys are sorted in all search sub-conditions
- switch installer from EU::MM to M::I
revision 1.52 2009-04-28 23:14 (UTC)
----------------------------
- allow -between to handle [\"", \""] and \["", @bind]
- allow order_by to handle -asc|desc => [qw/colA colB/] (artifact from DBIx::Class)
- more tests and clearing up of some corner cases
- t/10test.t does not run by default (developer only, too cpu intensive)
- Updating package for p5 module CatalystX::CRUD from 0.39 to 0.43
- Setting license to gnu-gpl-v2
- Adjusting dependencies
Upstream changes:
0.40 16 April 2009
* change base Controller to call can_read() rather than can_write() in edit().
This is because the call to edit() does not actually write anything; it's just a GET
for a form.
0.41 21 April 2009
* remove Catalyst::Component::ACCEPT_CONTEXT as a dependency since it has not been
updated for Catalyst 5.8.
0.42 27 April 2009
* revert ACCEPT_CONTEXT changes; fixes pushed to new C::C::A_C on CPAN, and added no warnings
using Class::C3::Adopt::NEXT (thanks to t0m)
* change from 'use Class::C3' to 'use mro "c3"' with new dep on MRO::Compat
* added some debugging in tests
0.43 29 April 2009
* rid of ourselves of Class::Data::Inheritable because it clashes with Catalyst::Runtime 5.8.
Notably, it caused a strange bug in Rose::DBx::Garden::Catalyst where the MyApp->config
class hashref would get nuked after a call to Class::C3::initialize(). Yes. That fsked up.
- Updating package for p5 module DBD::Oracle to 1.23 from 1.22
Upstream changes:
Changes in DBD-Oracle 1.23(svn rev 12724)
Fix from rt.cpan.org ticket #=44788 bool in_lite should be char in_literal
Fix for UTF8 and blobs by John Scoles with Milo van der Leij
Fix for some warnings and one bug in ocitrace.h from Charles Jardine
Fix in case there may be a bug in 11 where the OCI_ATTR_DATA_SIZE my
return 0 which should never happen, John Scoles
Fix on the Makefile.PL for a possible sql bug in IC from Martin Evans
Added a change from a suggestion from Martin Evans for making ref cursors
faster.
Added rt.cpan.org Ticket #=42328 ora_objects attribute for extended
embedded objects support from Tomas Pokorny
Fix for rt.cpan.org Ticket #=42328 user defined types from different
schema in describe_obj from Tomas Pokorny
Added a README for sun suggested by Jim McCullars
Clean up of white space and formatting to 4 tabs from John Scoles
Fix for GCC 4.3 warnings from Eric Simon
Standardized the dbd_verbose levels so they are all 3 and over from John
Scoles
Added private statement functions ora_stmt_type_name and ora_stmt_type
from John Scoles
Update to POD from Chris Underhill
Added README.win64.txt with content from Alex Buttery
Fix for rt.cpan.org Ticket #=21920 Bug with Oracle DBD for Mac OS X Instant
Client From boingolover
Added a few more constants to get rid of magic numbers from John Scoles
Fix for rt.cpan.org Ticket #=38267 Inserts/Updates to BLOB's via synonyms
fails from John Scoles
Fix for rt.cpan.org Ticket #=39603 build problem and fix missing functions
in oci.def from Zolt'an Sebesty'en
Fix for rt.cpan.org Ticket #=39374 Makefile.PL: error when reducing echo
messages from make from Tippa
Fix for rt.cpan.org Ticket #=39232 binding large XMLTYPE fails on 64-bit
perl from Jeff Klein
Fix for rt.cpan.org Ticket #=38749 Warning of a NULL column in an aggregate
function also added ora_oci_success_warn to display silent OCI warningsi
from John Scoles
Patch for UTF8 check on execute_array from David Mansfield and a little by
John Scoles
- Updating package for perl module DBIx::Class to 0.08101
- bump dependency to Class::C3::Componentised
Upstream changes since 0.08100:
0.08101 2009-04-27 09:45:00 (UTC)
- Fix +select, +as, +columns and include_columns being stripped
by $rs->get_column
- move load_optional_class from DBIx::Class::Componentised to
Class::C3::Componentised, bump dependency
- register_extra_source() now *really* fixed wrt subclassing
- Added missing POD descriptions (RT#45195)
- Fix insert() to not store_column() every present object column
- Multiple Makefile.PL fixes
- Updating package for p5 module DBIx::Class to 0.08100 from 0.08013
- Adjusting dependencies from META.yml
- Adding optional dependency to SQL::Translator
Upstream changes (since 0.08010):
0.081000 2009-04-19 11:39:35 (UTC)
- Todo out the register_extra_source test until after shipping
0.08099_08 2009-03-30 00:00:00 (UTC)
- Fixed taint mode with load_namespaces
- Putting IC::DateTime locale, timezone or floating_tz_ok attributes into
extra => {} has been deprecated. The new way is to put these things
directly into the columns definition
- Switched MI code to MRO::Compat
- Document db-side default_value caveats
- Search_like() now warns to indicate deprecation in 0.09. (robkinyon)
- TxnScopeGuard left experimental state
0.08099_07 2009-02-27 02:00:00 (UTC)
- multi-create using find_or_create rather than _related for post-insert
- fix get_inflated_columns to check has_column_loaded
- Add DBIC_MULTICREATE_DEBUG env var (undocumented, quasi-internal)
- Fix up multi-create to:
- correctly propagate columns loaded during multi-insert of rels
- not try and insert things tagged on via new_related unless required
- Possible to set locale in IC::DateTime extra => {} config
- Calling the accessor of a belongs_to when the foreign_key
was NULL and the row was not stored would unexpectedly fail
- Split sql statements for deploy only if SQLT::Producer returned a scalar
containing all statements to be executed
- Add as_query() for ResultSet and ResultSetColumn. This makes subqueries
possible. See the Cookbook for details.
- Massive rewrite of Ordered to properly handle position constraints and
to make it more matpath-friendly
- deploy_statements called ddl_filename with the $version and $dir arguments
in the wrong order.
- columns/+columns attributes now support { as => select } hahsrefs
- support for views both in DBIC and via deploy() in SQLT
0.08099_06 2009-01-23 07:30:00 (UTC)
- Allow a scalarref to be supplied to the 'from' resultset attribute
- Classes submitted as result_class for a resultsource are now
automatically loaded via ensure_loaded()
- 'result_class' resultset attribute, identical to result_class()
- add 'undef_on_null_fk' option for relationship accessors of type 'single'.
This will prevent DBIC from querying the database if one or more of
the key columns IS NULL
- for 'belongs_to' rels, 'undef_on_null_fk' defaults to true.
- fixed scope unaware last_insert_id fetching for MSSQL
(http://msdn.microsoft.com/en-us/library/ms190315.aspx)
- an sqlt_deploy_hook can now be shared between result sources using
a configurable callback trigger
- new order_by => { -desc => 'colname' } syntax supported
- PG array datatype supported
- insert should use store_column, not set_column to avoid marking
clean just-stored values as dirty. New test for this
- regression test for source_name
0.08099_05 2008-10-30 21:30:00 (UTC)
- Rewritte of Storage::DBI::connect_info(), extended with an
additional argument format type
- InflateColumn::DateTime: add warning about floating timezone
- InflateColumn::DateTime: possible to enforce/skip inflation
- delete throws exception if passed arguments to prevent drunken mishaps. (purge)
- Fix storage to copy scalar conds before regexping to avoid
trying to modify a constant in odd edge cases
- Related resultsets on uninserted objects are now empty
- Fixed up related resultsets and multi-create
- Fixed superfluous connection in ODBC::_rebless
- Fixed undef PK for first insert in ODBC::Microsoft_SQL_Server
- Added virtual method to Versioned so a user can create upgrade
path across multiple versions (jgoulah)
- Better (and marginally faster) implementation of the HashRefInflator
hash construction algorithm
- Allow explicit specification of ON DELETE/ON UPDATE constraints
when using the SQLT parser
0.08099_04 2008-07-24 01:00:00
- Functionality to storage to enable a sub to be run without FK checks
- Fixed $schema->clone bug which caused clone and source to share
internal hash refs
- Added register_extra_source methods for additional sources
- Added datetime_undef_if_invalid for InflateColumn::DateTime to
return undef on invalid date/time values
- Added search_related_rs method to ResultSet
- add a make_column_dirty method to Row to force updates
- throw a clear exception when user tries multi-has_many prefetch
- SQLT parser prefixes index names with ${table}_idx_ to avoid clashes
- mark ResultSetManager as deprecated and undocument it
- pod fix (RT #32988)
- add Test::Exception to test requirements (RT #34256)
- make ash's build_requires/META.yml fixes work better
- is_deferable support on relations used by the SQL::Translator
parser
- Refactored DBIx::Class::Schema::Versioned
- Syntax errors from resultset components are now reported correctly
- sqltargs respected correctly in deploy et al.
- Added support for savepoints, and using them automatically in
nested transactions if auto_savepoint is set in connect_info.
- Changed naming scheme for constraints and keys in the sqlt parser;
names should now be consistent and collision-free.
- Improve handling of explicit key attr in ResultSet::find
- Add warnings for non-unique ResultSet::find queries
- Changed Storage::DBI::Replication to Storage::DBI::Replicated and
refactored support.
- By default now deploy/diff et al. will ignore constraint and index
names
- Add ResultSet::_is_deterministic_value, make new_result filter the
values passed to new to drop values that would generate invalid SQL.
- Use Sub::Name to name closures before installing them. Fixes
incompatibility with Moose method modifiers on generated methods.
- Updating package for p5 module DBD::PgPP to 0.06 from 0.05
- Setting license to artistic-2.0
- To satisfy DBI dependency, the databases/p5-DBI/buildlink3.mk
is included
Upstream changes:
0.06 Tue Feb 24 11:45:16 UTC 2009
- RT#15894: New last_insert_id feature; thanks to Roger Crew for the
implementation.
- RT#7686: Update test suite for newer PostgreSQL
- RT#14318 RT#18733 RT#41511: Allow execution of new queries while
fetching an existing one
- RT#14791 RT#31260: Fix results that have many columns, and long
strings in results
- RT#23900 RT#32864: Fix placeholder values containing "?", and
non-placeholder "?" in queries (both comments and literals)
- Disconnect from the database cleanly
- Fix use of non-default path for Unix-domain sockets
- Fix loss of protocol synchronisation when executing a query that
yields a warning
- Fix various bugs in `bind_param` (or at least the simple, non-typed
versions of it) and in `execute` with arguments
- Better support for PostgreSQL 8.1 and above
- Improved test coverage
- Updating package for p5 module DBD::SQLite to 1.25 from 1.13
Upstream changes:
.25 Thu 23 Apr 2009
- Amalgamation conversion turned out to be quicker than expected.
- Changing to a production release. (ADAMK)
1.24_02 Wed 22 Apr 2009
- Merging various externally-contributed annotations from
annocpan.org (ADAMK)
- Created the beginnings of a DBD::SQLite::Cookbook (ADAMK)
1.24_01 Wed 22 Apr 2009
- Moved getsqlite.pl into util (ADAMK)
- Switching to the RT queue instead of the RT report page that
does nothing and just refers you to email (ADAMK)
- Now DBD::SQLite also uses amalgamated source recommended at sqlite.org (ISHIGAKI)
- Resolved#45166: better unicode path handling under cygwin (ISHIGAKI)
- Resolved#45171: test failure on CentOS 4.6 (ISHIGAKI)
- Updating package for p5 module DBD::Pg to 2.13.1 from 2.13.0
- Setting license to artistic-2.0
Upstream changes:
2.13.1 Released April 23, 2009
- Fix leak in pg_warn (CPAN bug #45163) [rweikusat@mssgmbh.com]
- Updating package for p5 module DBD::SQLite to 1.23
- Setting license to artistic-2.0
Upstream changes:
1.23 Sun 19 Apr 2009
- No changes from 1.22_08, just switched to production release (ADAMK)
1.22_08 Fri 17 Apr 2009
- Completed the migration of all tests and deleted lib.pl (ADAMK)
- Prevented a double "commit is innefective" warning (ADAMK)
- Adding a version for the Win32.pm dependency (ADAMK)
1.22_07 Thu 16 Apr 2009
- Improved non-latin unicode filename support/test
on Windows (SZABGAB/ISHIGAKI)
- Removed the table name generator from t/lib.pl,
getting us closer to removing t/lib.pl entirely (ADAMK)
- Increased use of Test::NoWarnings (ADAMK)
- Converted half the remaining lib.pl tests to t::lib::Test (ADAMK)
- Require Win32.pm on Windows (CHORNY)
1.22_06 Wed 15 Apr 2009
- Simplifying various miscellaneous code (ADAMK)
- Adding support for non-latin unicode filenames on Windows (ADAMK)
1.22_05 Wed 15 Apr 2009
- Hopefully the last dev release before the next production release.
- Updated to SQLite 3.6.13 (DUNCAND)
- Setting svn:eol-style to native to prevent EOL issues (ADAMK)
- Resolved#44861: tweaked Makefile.PL to support older HP-UX (ISHIGAKI)
1.22_04 Sat 11 Apr 2009
- Adding support parsing attributes out of the DSN (ADAMK)
- Inserted pTHX_/aTHX_ for better efficiency (suggested in #44884 by TIMB) (ISHIGAKI)
- Dropping support for uncode before 5.8.5 to simplify support and
to prevent people hurting themselves on platforms that don't
properly support Unicode anyway (ADAMK)
- Stopped guessing if a bind param looks like a number or not
(suggested by GUIDO). This reopens#29058 and #29629, but
there are two workarounds for them. 1) Use "bind_param"
explicitly (rather than plain "execute", as you do for BLOB).
2) Add "+0" to the appropriate part(s) of your SQL to let
sqlite convert them into a number. (ISHIGAKI)
1.22_03 Thu 10 Apr 2009
- Resolved#44876: Patch to fix includes in the SQLITE_LOCATION case by janus (ISHIGAKI)
- Added PERL_NO_GET_CONTEXT for efficiency (suggested in #44884 by TIMB) (ISHIGAKI)
- Refactored error handling (suggested in #44884, #44871 by TIMB) (ISHIGAKI)
1.22_02 Wed 9 Apr 2009
- Added missing documentation bits for 'create_collation'
and 'progress_handler' (DAMI)
- Resolved RT#25924 (Arguments to user-defined functions do not
respect unicode setting) (DAMI)
- Added comments on the return values on error, and fixed another
wrong return value in execute (ISHIGAKI)
- Added SQL_NULLABLE_UNKNOWN; still wonders if the error above
should be ignored or not (ISHIGAKI)
1.22_01 Wed 9 Apr 2009
- Resolved#25371: Calls sv_utf8_upgrade on strings going into
the database to make sure latin-1 strings are not saved as
Malformed UTF-8 character in the SQLite TEXT column (MIYAGAWA)
* 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.