pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/p5-DBD-mysql
Module Name: pkgsrc
Committed By: wiz
Date: Wed Apr 23 21:05:19 UTC 2008
Modified Files:
pkgsrc/databases/p5-DBD-mysql: Makefile distinfo
Log Message:
Update to 4.006:
2007-12-26 Patrick Galbraith <patg%grazr.com@localhost> (4.006)
* Cleanups on OS X compile
* Fixes to syntax errors on AIX
* Removed test code that was leaving trace files around
2007-3-22 Patrick Galbraith <patg%grazr.com@localhost> (4.005)
* Fixed mysql_warning issue < 4.1 (reminers, patches, help from ROAM, (issue
25713)
* makerealclean patch from ROAM (issue #25714)
* sqlstate cleanup patch from ROAM
* Replaced all references to dbis to use imp_xxh per DBI best practices
* Fix to dbd_st_destroy - added back previously removed 'free everything' code
which
had been moved to dbd_st_finish, causing a crash upon freeing of bind values
after all rows resulting from one execution of a query have been fetched.
This meant
that next attempt to execute the prepared statement would segfault. This
work thanks to Rainer Weikusat!
* Removed all 'FindNewTable' calls in all tests. Just use 't1' for all tests to
simplify things. Plus, this is how MySQL internall tests.
* Better 'skip test' logic in some tests that were still running when they
shouldn't
have been.
2007-3-22 Patrick Galbraith <patg%grazr.com@localhost> Jim Winstead
<jimw%mysql.com@localhost> (4.004)
* Work around a bug in old 3.23 servers by specifying NOT NULL for fields used
as a primary key in tests. (Bug #20325, reported by Julian Ladisch)
* Add support for mysql_warning_count statement handle attribute. (Bug #25457,
patch from Philip Stoev)
* Add support for mysql_multi_statements connection option. (RT #12322, based
on patch from Doug Morris)
* Had to bump to 4.003 do to print statement in mysql.pm that made it
into the dist. Even though you can delete a file on CPAN, you cannot
re-upload it if it's the same name. Mea Culpa.
* UTF8-Flag not set with flag mysql_enable_utf8 and column collation utf8_bin
patch,
Joost Diepenmaat, (RT #24738)
* Fixed do_error definition (Scott Hildreth, Tim Bunce)
* Conversion of test suite to Test::More
2007-3-5 Patrick Galbraith <patg%grazr.com@localhost> Jim Winstead
<jimw%mysql.com@localhost> (4.003)
* Fix inclusion of non-primary keys in primary_key_info. (Bug #26786,
reported and patch by Dave Rolsky)
2007-3-1 Patrick Galbraith <patg%grazr.com@localhost> Jim Winstead
<jimw%mysql.com@localhost> (4.002)
* Fix re-exec of Makefile.PL when forcing $ENV{LANG} to 'C'. (RT #25233,
reported by Slaven Rezic)
* Rewrote table_info method to support all arguments (previously it would
only ever return all of the tables in the current database, no matter what
was specified)
* Fixed $DBD::mysql::VERSION to be a string instead of a float, which caused
problems for certain locales
* Fixed bug #23974. $dbh->column_info now returns handle with no rows upon
table not existing. Much thanks to Tim Bunce for help fixing the problem
in mysql.pm vs. dbdimp.c
* Removed #ifdefs for do error (sqlstate being passed as last arg depending on
version)
* Fixed insertid test to work with auto_increment_increment replication setup.
* Patch from Tim Bunce fixing do() not set $dbh->{Statement} attribute,
which prevented DBD::Profile from giving correct results for calls to do()
and causing ShowErrorStatement to possibly report the wrong statement in the
error message
* Patch from Tim Bunce clearing out the sth attribute cache when switching
between result, sets which prevented the adjustedment of NUM_OF_FIELDS
* Cleanup of several unused variables
* Added support for wildcards in last argument of column_info().
* Add mysql_is_auto_increment to results of column_info(). (Bug #26603,
original patch from Dave Rolsky)
* Return the correct table type for both tables and views from the table_info()
method. (Bug #26603, original patch from Dave Rolsky)
* Add implementation of foreign_key_info() (Bug #26604, original patch from
Dave Rolsky, and final implementation based on Connector/J code)
2007-1-8 Jim Winstead <jimw%mysql.com@localhost> Patrick Galbraith
<patg%grazr.com@localhost> (4.001)
* Fix handling of unsigned integer values in result sets when using
server-side prepared statements (they were not retrieved at all).
* Fix handling of signed integer values when using server-side prepared
statements (they were being forced to unsigned values).
* Do not tell Perl that the contents of binary fields are UTF-8.
[rt.cpan.org #22123], original patch by Joost Diepenmaat
* Fix double-free of bound parameters when freeing statements. (Bug #20559)
* Make sure to handle "magical" values in a couple of places. (Bug #20104)
* Update the hints about what to do when zlib is found missing while
linking. (Bug #13803, reported by Philip Stoev)
* Explicitly initialize the MySQL client library to avoid possible race
conditions in a multithreaded application. (Bug #21792)
* Fix warning when no connection attributes are passed to the connect
method (Bug #17323, reported by Phil Randal)
* Removed redundant warnings when commit or rollback is called while
AutoCommit is enabled. [rt.cpan.org #15802], reported by Tyler MacDonald
* Report correct type for decimal columns from MySQL 5.0 and later
[rt.cpan.org #18294], reported by Ray Zimmerman
* Fix t/40bindparam.t to work when ANSI_QUOTES SQL_MODE is set.
[rt.cpan.org #21521], reported by David Wheeler
* Return a statement handle with an error when column_info is called on
a table that does not exist. (Bug #23974, patch by Philip Stoev)
* Fix handling of table names with characters that did not match /\w/ in
the column_info method. (Bug #22005, reported by Philip Stoev)
* Fix handling of negative integers bound to a column marked as SQL_INTEGER.
[rt.cpan.org #18976], patch from Mike Schilli.
* Add support for the primary_key_info method. [rt.cpan.org #8541]
* Fixed Bundle::DBD::mysql to only include modules required for using
DBD::mysql, not the old Mysql package. [rt.cpan.org #24096]
* Updated Makefile.PL to not include files in .svn directories
* Fixed various compile warnings in mysql.xs (ISO C)
* Cleaned up stored procedure examples, made strict
* Fixed bug that blew away subsequent result sets if you fetched all rows, only
in
result sets that had more than one row
* Added test for bug #14979 http://rt.cpan.org/Ticket/Display.html?id=14979,
which still
fails
* Tested with ALL mysql versions, fixed 40types, 40bind_param tests to work
with 4.0, 4.1
* Fixed dbdimp.c to not test for MYSQL_DATA_TRUNCATED unless >= mysql 5.0
2006-12-22 Patrick Galbraith <patg%patg.net@localhost>, Alexey Stroganov (4.00)
* Added Alexey Stroganov's patch which fixes varying number of columns in
multiple result sets. Added new test cases to 80procs.t based of his
test script (bug #21028) (Thanks Alexey!). Also fixed 80procs.t to allow
'CALL' to be prepared
* Added Philip Stoev's patch for DATA_TYPE date and time columns (bug #23988)
(Thanks Philip!)
* Reworked (for working with 4.0, which doesn't support sqlstate) Philip Stoev's
patch for sqlstate, bug #23935 (Thanks Philip!)
* New Versioning! 4.00 now. This dev tree will now become trunk
* Cleaned up much code that failed between versions (!!!)
* Turned off prepared statements by default
* Tested this with 5.1, 5.0, 4.1, 4.0. Works with ALL these versions!
2006-10-10 Patrick Galbraith <patg%patg.net@localhost>, Alexey Stroganov
(3.0009_1)
* Added fbind and bind alloc to dbd_st_describe. This was causing a crash
when using with mod_perl
2006-10-10 Patrick Galbraith <patg%patg.net@localhost> (3.0008_1)
* Added patch for SSL Verify Certificate (Thanks Eric Chen!)
* Added multiple fixes to dbd_st_prepare which fixed variable overwrite
and unset increment counter. Also improved loop which checks statements
for presence of "LIMIT" by using a pointer as opposed to char array
increment variable. These errors were showing up in OpenBSD and other
Unixen (which I think all BSD-based) (Thanks to Kyle George!)
* Added fix to Makefile.PL to obtain correct build flags on VMS
(Thanks to Eric Milkie!)
* Fixed casting of num_params to unsigned int in calls to NewZ in mysql.xs
2006-10-07 Patrick Galbraith <patg%patg.net@localhost>, Jim Winstead
<jimw%mysql.com@localhost>
(3.0007_2)
* Added UTF8 patch from Dominic Mitchell (Thanks!)
* Fixed declaration of "row" in mysql_st_internal_execute which caused compile
errors on some platforms
* Fix documentation for _ListDBs to remove incorrect information about
limitations of data_sources(). (RT #20843, patch by Ann Barcomb)
* Fix typo in example (missing quote). (RT #15086)
* Mention in POD that 'localhost' always means to connect via UNIX socket,
and 127.0.0.1 must be used for TCP/IP to localhost (RT #14942, reported by
Alessandro Ranellucci)
* Fix typos in Makefile.PL (RT#16178, reported by Gavin Shelley)
2006-09-08 Jim Winstead <jimw%mysql.com@localhost>, Patrick Galbraith
<patg%mysql.com@localhost>
(3.0007_1) (3.0006/3.0006_1 is the same as 3.0005/3.0005_1)
* Make sure to call dbd_st_finish when all rows from a statement handle
have been fetched. (Bug #20153, Bug #21607, RT #20464, RT #21241)
* Patch from Steve Hay to fix bind_param to deal properly with insertion
of a NULL into an INT or DOUBLE column using server-side prepare.
Converted Steve's dbi.pl script to expose this problem to 40bindparam2
test.
* Fix to mysql_st_internal_execute to keep from passing undefined dbh
handle member (bind_type_guessing) to parse_param causing crash on
OpenBSD. Reported on rt.cpan.org (#20868) by Kyle Georg, as well as
info from Sam Smith and Federico Giannici
* Cleaned up tests to make sure test table is dropped at end of test.
2006-06-10 Patrick Galbraith <patg%mysql.com@localhost) (3.0005)
* Fix dbd_st_finish in 3.0004 didn't clean up bind buffers resulting in
a memory leak. See eg/prepare_memory_usage.pl to see how this manifests
itself. Thanks to Jason Snell for giving me a good script to reproduce
this!
* Fix to parse_params, mysql.xs dbh->do, and bind_param to deal with
passing substr to "do" for placeholder value. Thanks Martin Waite for
the patch to parse_params (extended to mysql.xs "do" and bind_param for
server-side prepared statements.
2006-05-17 Patrick Galbraith <patg%mysql.com@localhost) (3.0004_1)
* Fix dbd_st_finish which closed the handle prematurely (Martin Evans)
* Compile issues (Martin Evans)
* Small change to get utf8 data returned. One still has to:
$dbh->do("set character set utf8");
$dbh->do("set names utf8");
to get utf8 back and even then you only get it back if the
column is defined as utf8 in mysql.
* Fix to dbd_bind_ph to deal with numbers (ints, floats) correctly
(Alexey Stroganov)
* Test changes - bind_param 41 and 42
* Turned off 70takeimp test
2006-04-29 Patrick Galbraith <patg%mysql.com@localhost) (3.0003_1)
* Removed old Msql-Mysql Driver emulation code - finally!!!
* Removed aweful string testing code (that I wrote) for unsported
statements and now use mysql_stmt_prepare, if statement not
supported, toggle to mysql_emulated_prepare
* Fixed bug where failed stmt execution caused later statements
to fail with mysql_stmt_reset
* Added tests for unsupported statements
* Added test for test of failed statement with subsequent executes
(thanks to Martin Evans!)
* Added typo fix (Martin Evans)
* Added support for ParamValues and associated test (Martin Evans)
* Removed old emulated driver tests (HOORAY!)
* Cleaned up debug printing code
* Fixed syntax for create table ENGINE=InnoDB instead of type=innobase
* Cleaned up tests
2006-01-31 Patrick Galbraith <patg%mysql.com@localhost> (3.0002_5)
* Fixed bugs 15546 (selectcol_arrayref failing on SHOW TABLES)
and 15665, 'USE dbname' failing when driver is not in emulated
prepare mode
2005-10-26 Patrick Galbraith <patg%mysql.com@localhost> (3.0002_4)
* Added Guy Harrison's patch for multiple result sets
* Fixed bugs with declarations in middle of functions
* Cleaned up code, rewrote several loops using pointers
instead of iterators
* Rewrote 'SHOW', 'ALTER', 'CALL', 'CREATE' toggling code that turns
off server prepared statements (these calls are not supported)
* Updated documentation
2005-09-28 Patrick Galbraith <patg%mysql.com@localhost> (3.0002_3)
* Added code to mysql_st_internal_execute that determines whether the
SV *h is a sth or dbh, and then imports imp_dbh appropriately
2005-09-26 Patrick Galbraith <patg%mysql.com@localhost> (3.0002_2)
* Fixed bug in dbd_st_execute where imp_sth was being
imported unecessarily, when only imp_dbh is needed. This caused a
core dump in some cases. Thanks to Andy Maas at Proofpoint for his
execellent detective work!
* Small changes to Makefile.PL to make sure --ps-protocol works as
advertised.
* Updated install.html with current info about prepared statements and FC
RPM/YUM packages.
2005-08-04 Patrick Galbraith <patg%mysql.com@localhost> (3.0002_1)
* Prepared statement support is default now. To turn it off
a parameter 'mysql_emulated_prepare' must be turned ON
* Better error handling in mysql_internal_execute_ps (renamed
from mysql_internal_execute41). Also free the result if error -
that could have been a memory bug
* Added a simply 'do' to t/35prepare.test to see if you can turn
off prepared statements in the 'do' call.
* Cleaned up a LOT of cruft. Added more 'caveat' blurbage to old
Mysql.pm lib, which will not work with prepared statements
To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 pkgsrc/databases/p5-DBD-mysql/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/databases/p5-DBD-mysql/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index