r4301 - in /packages/libdbd-mysql-perl/branches/upstream/current: ChangeLog INSTALL.html META.yml Makefile.PL dbdimp.c lib/DBD/mysql.pm mysql.xs t/10dsnlist.t t/40blobs.t t/mysql.dbtest

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Nov 19 20:15:33 CET 2006


Author: gregoa-guest
Date: Sun Nov 19 20:15:32 2006
New Revision: 4301

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=4301
Log:
Load /tmp/tmp.aVcZd13873/libdbd-mysql-perl-3.0008 into
packages/libdbd-mysql-perl/branches/upstream/current.

Modified:
    packages/libdbd-mysql-perl/branches/upstream/current/ChangeLog
    packages/libdbd-mysql-perl/branches/upstream/current/INSTALL.html
    packages/libdbd-mysql-perl/branches/upstream/current/META.yml
    packages/libdbd-mysql-perl/branches/upstream/current/Makefile.PL
    packages/libdbd-mysql-perl/branches/upstream/current/dbdimp.c
    packages/libdbd-mysql-perl/branches/upstream/current/lib/DBD/mysql.pm
    packages/libdbd-mysql-perl/branches/upstream/current/mysql.xs
    packages/libdbd-mysql-perl/branches/upstream/current/t/10dsnlist.t
    packages/libdbd-mysql-perl/branches/upstream/current/t/40blobs.t
    packages/libdbd-mysql-perl/branches/upstream/current/t/mysql.dbtest

Modified: packages/libdbd-mysql-perl/branches/upstream/current/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/ChangeLog?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/ChangeLog (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/ChangeLog Sun Nov 19 20:15:32 2006
@@ -1,3 +1,15 @@
+2006-10-10 Patrick Galbraith <patg at patg.net> (3.0008)
+* 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 declaration of "row" in mysql_st_internal_execute which caused compile 
+  errors on some platforms
+* Fixed casting of num_params to unsigned int in calls to NewZ in mysql.xs
+* Fixed typo in Makefile.PL for test_user which was supposed to be testuser
+
 2006-09-08 Jim Winstead <jimw at mysql.com>, Patrick Galbraith <patg at mysql.com>
 (3.0007) (3.0006 is the same as 3.0005)
   * Make sure to call dbd_st_finish when all rows from a statement handle
@@ -868,7 +880,7 @@
 	* lib/Msql/Statement.pm: Fixed use of Msql::TEXT_TYPE without
 	  checking whether we are running Msql 1.
 
-$Id: ChangeLog 6506 2006-06-14 19:05:50Z capttofu $
+$Id: ChangeLog 7931 2006-10-10 19:58:53Z capttofu $
 
 DBD::mysql for DBI - Written by Jochen Wiedmann <joe at ispsoft.de>
 

Modified: packages/libdbd-mysql-perl/branches/upstream/current/INSTALL.html
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/INSTALL.html?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/INSTALL.html (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/INSTALL.html Sun Nov 19 20:15:32 2006
@@ -1,8 +1,10 @@
+<?xml version="1.0" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>INSTALL - How to install and configure DBD::mysql</title>
-<link rev="made" href="mailto:root at b28.apple.com" />
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<link rev="made" href="mailto:patg at radha.local" />
 </head>
 
 <body style="background-color: white">
@@ -85,25 +87,25 @@
 <hr />
 <h1><a name="prerequisites">PREREQUISITES</a></h1>
 <dl>
-<dt><strong><a name="item_perl">Perl</a></strong><br />
-</dt>
-<dd>
-Preferrably a version of Perl, that comes preconfigured with
+<dt><strong><a name="item_perl">Perl</a></strong>
+
+<dd>
+<p>Preferrably a version of Perl, that comes preconfigured with
 your system. For example, all Linux and FreeBSD distributions
 come with Perl. For Windows, ActivePerl is recommended, see
-<a href="http://www.activestate.com">http://www.activestate.com</a> for details.
-</dd>
-<p></p>
-<dt><strong><a name="item_mysql">MySQL</a></strong><br />
-</dt>
-<dd>
-You need not install the actual MySQL database server, the
+<a href="http://www.activestate.com">http://www.activestate.com</a> for details.</p>
+</dd>
+</li>
+<dt><strong><a name="item_mysql">MySQL</a></strong>
+
+<dd>
+<p>You need not install the actual MySQL database server, the
 client files and the devlopment files are sufficient. For
 example, the Red Hat Linux distribution comes with RPM files
 <strong>mysql-client</strong> and <strong>mysql-devel</strong>. These are sufficient,
 if the MySQL server is located on a foreign machine. You may
 also create client files by compiling from the MySQL source
-distribution and using
+distribution and using</p>
 </dd>
 <dd>
 <pre>
@@ -117,39 +119,40 @@
 and selecting the appropriate option when running the
 MySQL setup program.</p>
 </dd>
-<p></p>
-<dt><strong><a name="item_dbi">DBI</a></strong><br />
-</dt>
-<dd>
-DBD::mysql is a DBI driver, hence you need DBI. It is available
+</li>
+<dt><strong><a name="item_dbi">DBI</a></strong>
+
+<dd>
+<p>DBD::mysql is a DBI driver, hence you need DBI. It is available
 from the same source where you got the DBD::mysql distribution
-from.
-</dd>
-<p></p>
-<dt><strong><a name="item_c_compiler">C compiler</a></strong><br />
-</dt>
-<dd>
-A C compiler is only required, if you install from source. In
+from.</p>
+</dd>
+</li>
+<dt><strong><a name="item_c_compiler">C compiler</a></strong>
+
+<dd>
+<p>A C compiler is only required, if you install from source. In
 most cases there are binary distributions of DBD::mysql
 available. However, if you need a C compiler, make sure, that
 it is the same C compiler that was used for compiling Perl and
 MySQL! Otherwise you will almost definitely encounter problems
-because of differences in the underlying C runtime libraries.
+because of differences in the underlying C runtime libraries.</p>
 </dd>
 <dd>
 <p>In the worst case, this might mean to compile Perl and MySQL
 yourself. But believe me, experience shows that a lot of problems
 are fixed this way.</p>
 </dd>
-<p></p>
-<dt><strong><a name="item_gzip_libraries">Gzip libraries</a></strong><br />
-</dt>
-<dd>
-Late versions of MySQL come with support for compression. Thus
+</li>
+<dt><strong><a name="item_gzip_libraries">Gzip libraries</a></strong>
+
+<dd>
+<p>Late versions of MySQL come with support for compression. Thus
 it <strong>may</strong> be required that you have install an RPM package like
-libz-devel, libgz-devel or something similar.
-</dd>
-<p></p></dl>
+libz-devel, libgz-devel or something similar.</p>
+</dd>
+</li>
+</dl>
 <p>
 </p>
 <hr />
@@ -297,44 +300,44 @@
 This is described later on.</p>
 <p>Available switches are:</p>
 <dl>
-<dt><strong><a name="item_testdb">testdb</a></strong><br />
-</dt>
-<dd>
-Name of the test database, defaults to <strong>test</strong>.
-</dd>
-<p></p>
-<dt><strong><a name="item_testuser">testuser</a></strong><br />
-</dt>
-<dd>
-Name of the test user, defaults to empty. If the name is empty,
-then the currently logged in users name will be used.
-</dd>
-<p></p>
-<dt><strong><a name="item_testpassword">testpassword</a></strong><br />
-</dt>
-<dd>
-Password of the test user, defaults to empty.
-</dd>
-<p></p>
-<dt><strong><a name="item_testhost">testhost</a></strong><br />
-</dt>
-<dd>
-Host name or IP number of the test database; defaults to localhost.
-</dd>
-<p></p>
-<dt><strong><a name="item_testport">testport</a></strong><br />
-</dt>
-<dd>
-Port number of the test database
-</dd>
-<p></p>
-<dt><strong><a name="item_cflags">cflags</a></strong><br />
-</dt>
-<dd>
-This is a list of flags that you want to give to the C compiler.
+<dt><strong><a name="item_testdb">testdb</a></strong>
+
+<dd>
+<p>Name of the test database, defaults to <strong>test</strong>.</p>
+</dd>
+</li>
+<dt><strong><a name="item_testuser">testuser</a></strong>
+
+<dd>
+<p>Name of the test user, defaults to empty. If the name is empty,
+then the currently logged in users name will be used.</p>
+</dd>
+</li>
+<dt><strong><a name="item_testpassword">testpassword</a></strong>
+
+<dd>
+<p>Password of the test user, defaults to empty.</p>
+</dd>
+</li>
+<dt><strong><a name="item_testhost">testhost</a></strong>
+
+<dd>
+<p>Host name or IP number of the test database; defaults to localhost.</p>
+</dd>
+</li>
+<dt><strong><a name="item_testport">testport</a></strong>
+
+<dd>
+<p>Port number of the test database</p>
+</dd>
+</li>
+<dt><strong><a name="item_cflags">cflags</a></strong>
+
+<dd>
+<p>This is a list of flags that you want to give to the C compiler.
 The most important flag is the location of the MySQL header files.
 For example, on Red Hat Linux the header files are in /usr/include/mysql
-and you might try
+and you might try</p>
 </dd>
 <dd>
 <pre>
@@ -358,14 +361,14 @@
 <p>More details on the C compiler flags can be found in the following
 section. <a href="#compiler_flags">Compiler flags</a>.</p>
 </dd>
-<p></p>
-<dt><strong><a name="item_libs">libs</a></strong><br />
-</dt>
-<dd>
-This is a list of flags that you want to give to the linker
+</li>
+<dt><strong><a name="item_libs">libs</a></strong>
+
+<dd>
+<p>This is a list of flags that you want to give to the linker
 or loader. The most important flags are the locations and names
 of additional libraries. For example, on Red Hat Linux your
-MySQL client libraries are in /usr/lib/mysql and you might try
+MySQL client libraries are in /usr/lib/mysql and you might try</p>
 </dd>
 <dd>
 <pre>
@@ -389,7 +392,8 @@
 <p>More details on the linker flags can be found in a separate section.
 <a href="#linker_flags">Linker flags</a>.</p>
 </dd>
-<p></p></dl>
+</li>
+</dl>
 <p>If a switch is not present on the command line, then the
 script <code>mysql_config</code> will be executed. This script comes
 as part of the MySQL distribution. For example, to determine
@@ -447,11 +451,11 @@
 <p>The following items typically need to be configured for the
 linker:</p>
 <dl>
-<dt><strong><a name="item_the_mysqlclient_library">The mysqlclient library</a></strong><br />
-</dt>
-<dd>
-The MySQL client library comes as part of the MySQL distribution.
-Depending on your system it may be a file called
+<dt><strong><a name="item_the_mysqlclient_library">The mysqlclient library</a></strong>
+
+<dd>
+<p>The MySQL client library comes as part of the MySQL distribution.
+Depending on your system it may be a file called</p>
 </dd>
 <dd>
 <pre>
@@ -502,13 +506,13 @@
   make install
   rm -rf /tmp/mysql-static</pre>
 </dd>
-<p></p>
-<dt><strong><a name="item_the_gzip_library">The gzip library</a></strong><br />
-</dt>
-<dd>
-The MySQL client can use compression when talking to the MySQL
+</li>
+<dt><strong><a name="item_the_gzip_library">The gzip library</a></strong>
+
+<dd>
+<p>The MySQL client can use compression when talking to the MySQL
 server, a nice feature when sending or receiving large texts over
-a slow network.
+a slow network.</p>
 </dd>
 <dd>
 <p>On Unix you typically find the appropriate file name by running</p>
@@ -523,7 +527,8 @@
 to the list of linker flags. If this seems to be causing problem
 you may also try to link without gzip libraries.</p>
 </dd>
-<p></p></dl>
+</li>
+</dl>
 <p>
 </p>
 <hr />
@@ -556,57 +561,58 @@
 unstable.</p>
 <p>Install MySQL (if you havn't already)</p>
 <dl>
-<dt><strong><a name="item__2d">-</a></strong><br />
-</dt>
-<dd>
-download the MySQL Windows Binaries from
-<a href="http://www.mysql.com/downloads/index.html">http://www.mysql.com/downloads/index.html</a>
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-unzip mysql-&lt;version&gt;-win.zip into some temporary location
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-start the setup.exe there and follow the instructions
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-start the server
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-alternatively download, install and start the server on a remote
-server, on what supported OS ever
-</dd>
-<p></p></dl>
+<dt><strong><a name="item__2d">-</a></strong>
+
+<dd>
+<p>download the MySQL Windows Binaries from
+<a href="http://www.mysql.com/downloads/index.html">http://www.mysql.com/downloads/index.html</a></p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
+<dd>
+<p>unzip mysql-&lt;version&gt;-win.zip into some temporary location</p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
+<dd>
+<p>start the setup.exe there and follow the instructions</p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
+<dd>
+<p>start the server</p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
+<dd>
+<p>alternatively download, install and start the server on a remote
+server, on what supported OS ever</p>
+</dd>
+</li>
+</dl>
 <p>Build MySQL clients under Cygwin:</p>
 <dl>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-download the MySQL LINUX source from
-<a href="http://www.mysql.com/downloads/index.html">http://www.mysql.com/downloads/index.html</a>
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-unpack mysql-&lt;version&gt;.tar.gz into some tmp location
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-cd into the unpacked dir mysql-&lt;version&gt;
+<dt><strong>-</strong>
+
+<dd>
+<p>download the MySQL LINUX source from
+<a href="http://www.mysql.com/downloads/index.html">http://www.mysql.com/downloads/index.html</a></p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
+<dd>
+<p>unpack mysql-&lt;version&gt;.tar.gz into some tmp location</p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
+<dd>
+<p>cd into the unpacked dir mysql-&lt;version&gt;</p>
 </dd>
 <dd>
 <pre>
@@ -620,9 +626,9 @@
 Windows binaries. The --without-server parameter tells configure to
 only build the clients.</p>
 </dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
+</li>
+<dt><strong>-</strong>
+
 <dd>
 <pre>
   make</pre>
@@ -631,8 +637,8 @@
 <p>This builds all MySQL client parts ... be patient. It should finish
 finally without any error.</p>
 </dd>
-<dt><strong>-</strong><br />
-</dt>
+<dt><strong>-</strong>
+
 <dd>
 <pre>
   make install</pre>
@@ -646,8 +652,8 @@
 <p>Essentially you are now done with this part. If you want, you may try
 your compiled binaries shortly; for that, do:</p>
 </dd>
-<dt><strong>-</strong><br />
-</dt>
+<dt><strong>-</strong>
+
 <dd>
 <pre>
   cd /usr/local/mysql/bin
@@ -678,27 +684,27 @@
 <p>You are now ready to build DBD::mysql!</p>
 <p>Build DBD::mysql:</p>
 <dl>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-download DBD-mysql-&lt;version&gt;.tar.gz from CPAN
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-unpack DBD-mysql-&lt;version&gt;.tar.gz
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
-<dd>
-cd into unpacked dir DBD-mysql-&lt;version&gt;
-you probably did that already, if you are reading this!
-</dd>
-<p></p>
-<dt><strong>-</strong><br />
-</dt>
+<dt><strong>-</strong>
+
+<dd>
+<p>download DBD-mysql-&lt;version&gt;.tar.gz from CPAN</p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
+<dd>
+<p>unpack DBD-mysql-&lt;version&gt;.tar.gz</p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
+<dd>
+<p>cd into unpacked dir DBD-mysql-&lt;version&gt;
+you probably did that already, if you are reading this!</p>
+</dd>
+</li>
+<dt><strong>-</strong>
+
 <dd>
 <pre>
   cp /usr/local/mysql/bin/mysql_config .</pre>
@@ -709,8 +715,8 @@
 your Cygwin installation, especially about the right libraries to link
 with.</p>
 </dd>
-<dt><strong>-</strong><br />
-</dt>
+<dt><strong>-</strong>
+
 <dd>
 <pre>
   perl Makefile.PL --testhost=127.0.0.1</pre>
@@ -720,8 +726,8 @@
 to the MySQL server on the local host instead of a pipe/socket
 connection for the 'make test' phase.</p>
 </dd>
-<dt><strong>-</strong><br />
-</dt>
+<dt><strong>-</strong>
+
 <dd>
 <pre>
   make</pre>
@@ -729,8 +735,8 @@
 <dd>
 <p>This should run without error</p>
 </dd>
-<dt><strong>-</strong><br />
-</dt>
+<dt><strong>-</strong>
+
 <dd>
 <pre>
   make test</pre>
@@ -742,8 +748,8 @@
 not be dropped. I'm hunting for a solution to that problem, but have
 none yet).</p>
 </dd>
-<dt><strong>-</strong><br />
-</dt>
+<dt><strong>-</strong>
+
 <dd>
 <pre>
   make install</pre>
@@ -763,10 +769,10 @@
 <hr />
 <h1><a name="known_problems">KNOWN PROBLEMS</a></h1>
 <ol>
-<li><strong><a name="item__29">)</a></strong><br />
-</li>
-Some Linux distributions don't come with a gzip library by default.
-Running ``make'' terminates with an error message like
+<li><strong><a name="item__29">)</a></strong>
+
+<p>Some Linux distributions don't come with a gzip library by default.
+Running ``make'' terminates with an error message like</p>
 <pre>
   LD_RUN_PATH=&quot;/usr/lib/mysql:/lib:/usr/lib&quot; gcc
     -o blib/arch/auto/DBD/mysql/mysql.so  -shared
@@ -779,12 +785,12 @@
 <p>If this is the case for you, install an RPM archive like
 libz-devel, libgz-devel, zlib-devel or gzlib-devel or something
 similar.</p>
-<p></p>
-<li><strong>)</strong><br />
-</li>
-If Perl was compiled with gcc or egcs, but MySQL was compiled
+</li>
+<li><strong>)</strong>
+
+<p>If Perl was compiled with gcc or egcs, but MySQL was compiled
 with another compiler or on another system, an error message like
-this is very likely when running ``Make test'':
+this is very likely when running ``Make test'':</p>
 <pre>
   t/00base............install_driver(mysql) failed: Can't load
   '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql:
@@ -804,12 +810,12 @@
 <pre>
   -L&lt;directory&gt; -lgcc</pre>
 <p>to the list of C compiler flags. <a href="#configuration">Configuration</a>. <a href="#linker_flags">Linker flags</a>.</p>
-<p></p>
-<li><strong>)</strong><br />
-</li>
-There are known problems with shared versions of libmysqlclient,
+</li>
+<li><strong>)</strong>
+
+<p>There are known problems with shared versions of libmysqlclient,
 at least on some Linux boxes. If you receive an error message
-similar to
+similar to</p>
 <pre>
   install_driver(mysql) failed: Can't load
   '/usr/lib/perl5/site_perl/i586-linux/auto/DBD/mysql/mysql.so'
@@ -828,13 +834,14 @@
 <p>The use of a statically linked library is described in the
 previous section on linker flags. <a href="#configuration">Configuration</a>.
 <a href="#linker_flags">Linker flags</a>.</p>
-<p></p>
-<li><strong>)</strong><br />
-</li>
-Red Hat 8 &amp; 9 set the Default locale to UTF which causes problems with 
+</li>
+<li><strong>)</strong>
+
+<p>Red Hat 8 &amp; 9 set the Default locale to UTF which causes problems with 
 MakeMaker.  To build DBD::mysql on these systems, do a 'unset LANG' 
-before runing 'perl Makefile.PL'
-<p></p></ol>
+before runing 'perl Makefile.PL'</p>
+</li>
+</ol>
 <p>
 </p>
 <hr />

Modified: packages/libdbd-mysql-perl/branches/upstream/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/META.yml?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/META.yml (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/META.yml Sun Nov 19 20:15:32 2006
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         DBD-mysql
-version:      3.0007
+version:      3.0008
 version_from: lib/DBD/mysql.pm
 installdirs:  site
 requires:
@@ -9,4 +9,4 @@
     DBI:                           1.08
 
 distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+generated_by: ExtUtils::MakeMaker version 6.30

Modified: packages/libdbd-mysql-perl/branches/upstream/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/Makefile.PL?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/Makefile.PL (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/Makefile.PL Sun Nov 19 20:15:32 2006
@@ -154,7 +154,7 @@
 
 MSG
 
-$opt->{'test_user'} ||= "";
+$opt->{'testuser'} ||= "";
 delete $opt->{'help'};
 my $keylen = 0;
 foreach my $key (keys %$opt)
@@ -203,6 +203,9 @@
 
 
 my $cflags = "-I\$(DBI_INSTARCH_DIR) $opt->{'cflags'}";
+if ($^O eq 'VMS') {
+  $cflags = "\$(DBI_INSTARCH_DIR),$opt->{'cflags'}";
+}
 $cflags .= " -DDBD_MYSQL_WITH_SSL" if $opt->{'ssl'};
 $cflags .= " -DDBD_MYSQL_INSERT_ID_IS_GOOD" if $DBI::VERSION > 1.42;
 $cflags .= " -DDBD_NO_CLIENT_FOUND_ROWS" if $opt->{'nofoundrows'};
@@ -720,7 +723,7 @@
     $path;
 }
 
-sub postamble {
+sub macro {
   "\n" . DBI::DBD::dbd_postamble(@_) . <<"POSTAMBLE";
 
 installhtml: lib/DBD/mysql/INSTALL.pod

Modified: packages/libdbd-mysql-perl/branches/upstream/current/dbdimp.c
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/dbdimp.c?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/dbdimp.c (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/dbdimp.c Sun Nov 19 20:15:32 2006
@@ -8,7 +8,7 @@
  *  You may distribute this under the terms of either the GNU General Public
  *  License or the Artistic License, as specified in the Perl README file.
  *
- *  $Id: dbdimp.c 6506 2006-06-14 19:05:50Z capttofu $
+ *  $Id: dbdimp.c 7931 2006-10-10 19:58:53Z capttofu $
  */
 
 
@@ -2277,11 +2277,12 @@
         imp_sth->has_been_bound=  0;
 
         /* Initialize ph variables with  NULL values */
-        for (bind=      imp_sth->bind,
+        for (i= 0,
+             bind=      imp_sth->bind,
              fbind=     imp_sth->fbind,
              bind_end=  bind+DBIc_NUM_PARAMS(imp_sth);
              bind < bind_end ;
-             bind++, fbind++ )
+             bind++, fbind++, i++)
         {
           /*
             if this statement has a result set, field types will be
@@ -2347,6 +2348,7 @@
   char *table;
   char *salloc;
   int htype;
+  my_ulonglong rows= 0;
 
   /* thank you DBI.c for this info! */
   D_imp_xxh(h);
@@ -2385,9 +2387,8 @@
                        &slen,
                        params,
                        num_params,
-                       imp_dbh->bind_type_guessing);
-
-  my_ulonglong rows= 0;
+                       bind_type_guessing);
+
 
   if (dbis->debug >= 2)
     PerlIO_printf(DBILOGFP, "mysql_st_internal_execute\n");

Modified: packages/libdbd-mysql-perl/branches/upstream/current/lib/DBD/mysql.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/lib/DBD/mysql.pm?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/lib/DBD/mysql.pm (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/lib/DBD/mysql.pm Sun Nov 19 20:15:32 2006
@@ -9,7 +9,7 @@
 use Carp ();
 @ISA = qw(DynaLoader);
 
-$VERSION = '3.0007';
+$VERSION = '3.0008';
 
 bootstrap DBD::mysql $VERSION;
 
@@ -590,7 +590,7 @@
 This statement handle can be used for multiple things. First of all
 you can retreive a row of data:
 
-  my $row = $sth->fetchow_hashref();
+  my $row = $sth->fetchrow_hashref();
 
 If your table has columns ID and NAME, then $row will be hash ref with
 keys ID and NAME. See L<STATEMENT HANDLES> below for more details on

Modified: packages/libdbd-mysql-perl/branches/upstream/current/mysql.xs
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/mysql.xs?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/mysql.xs (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/mysql.xs Sun Nov 19 20:15:32 2006
@@ -1,6 +1,6 @@
 /* Hej, Emacs, this is -*- C -*- mode!
 
-   $Id: mysql.xs 6506 2006-06-14 19:05:50Z capttofu $
+   $Id: mysql.xs 7931 2006-10-10 19:58:53Z capttofu $
 
    Copyright (c) 2003      Rudolf Lippan
    Copyright (c) 1997-2003 Jochen Wiedmann
@@ -289,8 +289,8 @@
         numParams = items - 3;
         /*numParams = mysql_stmt_param_count(stmt);*/
         Newz(0, params, sizeof(*params)*numParams, struct imp_sth_ph_st);
-        Newz(0, bind, numParams, MYSQL_BIND);
-        Newz(0, fbind, numParams, imp_sth_phb_t);
+        Newz(0, bind, (unsigned int) numParams, MYSQL_BIND);
+        Newz(0, fbind, (unsigned int) numParams, imp_sth_phb_t);
 
         for (i = 0; i < numParams; i++)
         {

Modified: packages/libdbd-mysql-perl/branches/upstream/current/t/10dsnlist.t
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/t/10dsnlist.t?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/t/10dsnlist.t (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/t/10dsnlist.t Sun Nov 19 20:15:32 2006
@@ -1,6 +1,6 @@
 #!/usr/local/bin/perl
 #
-#   $Id: 10dsnlist.t 1337 2005-07-01 01:42:02Z capttofu $ 
+#   $Id: 10dsnlist.t 7820 2006-09-10 12:52:09Z capttofu $ 
 #
 #   This test creates a database and drops it. Should be executed
 #   after listdsn.

Modified: packages/libdbd-mysql-perl/branches/upstream/current/t/40blobs.t
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/t/40blobs.t?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/t/40blobs.t (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/t/40blobs.t Sun Nov 19 20:15:32 2006
@@ -1,6 +1,6 @@
 #!/usr/local/bin/perl
 #
-#   $Id: 40blobs.t 1103 2003-03-18 02:53:28Z rlippan $
+#   $Id: 40blobs.t 7820 2006-09-10 12:52:09Z capttofu $
 #
 #   This is a test for correct handling of BLOBS; namely $dbh->quote
 #   is expected to work correctly.

Modified: packages/libdbd-mysql-perl/branches/upstream/current/t/mysql.dbtest
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-mysql-perl/branches/upstream/current/t/mysql.dbtest?rev=4301&op=diff
==============================================================================
--- packages/libdbd-mysql-perl/branches/upstream/current/t/mysql.dbtest (original)
+++ packages/libdbd-mysql-perl/branches/upstream/current/t/mysql.dbtest Sun Nov 19 20:15:32 2006
@@ -1,6 +1,6 @@
 # Hej, Emacs, give us -*- perl -*- mode here!
 #
-#   $Id: mysql.dbtest 5985 2006-04-29 22:37:14Z capttofu $
+#   $Id: mysql.dbtest 7820 2006-09-10 12:52:09Z capttofu $
 #
 # database specific definitions for a 'mysql' database
 




More information about the Pkg-perl-cvs-commits mailing list