CVS checkout for latest DBD::mysql

CVS checkout for latest DBD::mysql

am 29.09.2003 22:13:49 von Dave Cash

Hello.

Apologizes in advance if this question has been answered--I searched
the archive and the web and didn't find where my specific concern
was addressed.

I see that column_info() support was added to DBD::mysql in version
2.9002, but that it had some problems regarding SQL_VARCHAR throwing
an error with column_info() was called. I see that this was
addressed by Rudy in 2.9003_1. However, this version appears only
to be available via CVS. I've tried to guess a few things but I
can't seem to checkout the latest version of DBD::mysql from
cvs.perl.org. After doing the login like this:

cvs -d :pserver:anonymous@cvs.perl.org:/cvs/public login

and got connected ok. However, attempts to checkout DBD::mysql
were not so successful. I tried these:

cvs -d :pserver:anonymous@cvs.perl.org:/cvs/public co DBD-mysql
cvs -d :pserver:anonymous@cvs.perl.org:/cvs/public co modules/DBD-mysql

but neither worked. I got the following errors (for the second one
of the above):

cvs server: Updating modules/DBD-mysql
cvs server: failed to create lock directory for `/cvs/public/modules/DBD-mysql' (/cvs/public/modules/DBD-mysql/#cvs.lock): Permission denied
cvs server: failed to obtain dir lock in repository `/cvs/public/modules/DBD-mysql'
cvs [server aborted]: read lock failed - giving up

Do I need some sort of special access? Is there some other place
where I should be looking to checkout this latest revision of
DBD::mysql? Am I doing something wrong?

Thanks,

Dave

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash Power to the People!
Frolicking in Fields of Garlic Right On-Line!
dave@gnofn.org Dig it all.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: CVS checkout for latest DBD::mysql

am 29.09.2003 23:56:48 von Rudy Lippan

On Mon, 29 Sep 2003, Dave Cash wrote:

> Hello.
>

Hello.

> Apologizes in advance if this question has been answered--I searched
> the archive and the web and didn't find where my specific concern
> was addressed.
>

I don't think so, I don't remember any asking to check something out of
cvs.

> I see that column_info() support was added to DBD::mysql in version
> 2.9002, but that it had some problems regarding SQL_VARCHAR throwing
> an error with column_info() was called. I see that this was
> addressed by Rudy in 2.9003_1. However, this version appears only

2.9003_1 up on CPAN. I have a few more things that I neeed to address
before I send up 2.9003. I am on holiday this week, but I hope to find
some time to finish spinning up a release, but I finding time to be short,
alas (and wired connections scarce (CVS is using pserver not SSH :()).
If you can't get it off CPAN, email me and I will forward you a copy/ put
it up on my server, but I am pretty sure that CPAN is working.


Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: CVS checkout for latest DBD::mysql

am 29.09.2003 23:56:48 von Rudy Lippan

On Mon, 29 Sep 2003, Dave Cash wrote:

> Hello.
>

Hello.

> Apologizes in advance if this question has been answered--I searched
> the archive and the web and didn't find where my specific concern
> was addressed.
>

I don't think so, I don't remember any asking to check something out of
cvs.

> I see that column_info() support was added to DBD::mysql in version
> 2.9002, but that it had some problems regarding SQL_VARCHAR throwing
> an error with column_info() was called. I see that this was
> addressed by Rudy in 2.9003_1. However, this version appears only

2.9003_1 up on CPAN. I have a few more things that I neeed to address
before I send up 2.9003. I am on holiday this week, but I hope to find
some time to finish spinning up a release, but I finding time to be short,
alas (and wired connections scarce (CVS is using pserver not SSH :()).
If you can't get it off CPAN, email me and I will forward you a copy/ put
it up on my server, but I am pretty sure that CPAN is working.


Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: [DBD::mysql] Re: CVS checkout for latest DBD::mysql

am 30.09.2003 19:06:49 von Dave Cash

On Mon, 29 Sep 2003, Rudy Lippan wrote:

> > I see that column_info() support was added to DBD::mysql in version
> > 2.9002, but that it had some problems regarding SQL_VARCHAR throwing
> > an error with column_info() was called. I see that this was
> > addressed by Rudy in 2.9003_1. However, this version appears only
>
> 2.9003_1 up on CPAN. I have a few more things that I neeed to address
> before I send up 2.9003. I am on holiday this week, but I hope to find
> some time to finish spinning up a release, but I finding time to be short,
> alas (and wired connections scarce (CVS is using pserver not SSH :()).
> If you can't get it off CPAN, email me and I will forward you a copy/ put
> it up on my server, but I am pretty sure that CPAN is working.

Rudy,

Thanks for putting 2.9003_1 up on CPAN for me.

I still got the SQL_VARCHAR error. I looked in DBD/mysql.pm and
found the problem. The 'use DBI qw(:sql_types);' line was in the
wrong package. A patch is below.

Thanks for maintaining such a wonderfully useful module!

Take care,

Dave

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash Power to the People!
Frolicking in Fields of Garlic Right On-Line!
dave@gnofn.org Dig it all.



diff -Naur lib/DBD/mysql.orig.pm lib/DBD/mysql.pm
--- lib/DBD/mysql.orig.pm Tue Sep 30 12:01:57 2003
+++ lib/DBD/mysql.pm Tue Sep 30 12:02:16 2003
@@ -97,7 +97,6 @@

package DBD::mysql::dr; # ====== DRIVER ======
use strict;
-use DBI qw(:sql_types);

sub connect {
my($drh, $dsn, $username, $password, $attrhash) = @_;
@@ -171,6 +170,7 @@

package DBD::mysql::db; # ====== DATABASE ======
use strict;
+use DBI qw(:sql_types);

%DBD::mysql::db::db2ANSI = ("INT" => "INTEGER",
"CHAR" => "CHAR",


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: [DBD::mysql] Re: CVS checkout for latest DBD::mysql

am 30.09.2003 19:06:49 von Dave Cash

On Mon, 29 Sep 2003, Rudy Lippan wrote:

> > I see that column_info() support was added to DBD::mysql in version
> > 2.9002, but that it had some problems regarding SQL_VARCHAR throwing
> > an error with column_info() was called. I see that this was
> > addressed by Rudy in 2.9003_1. However, this version appears only
>
> 2.9003_1 up on CPAN. I have a few more things that I neeed to address
> before I send up 2.9003. I am on holiday this week, but I hope to find
> some time to finish spinning up a release, but I finding time to be short,
> alas (and wired connections scarce (CVS is using pserver not SSH :()).
> If you can't get it off CPAN, email me and I will forward you a copy/ put
> it up on my server, but I am pretty sure that CPAN is working.

Rudy,

Thanks for putting 2.9003_1 up on CPAN for me.

I still got the SQL_VARCHAR error. I looked in DBD/mysql.pm and
found the problem. The 'use DBI qw(:sql_types);' line was in the
wrong package. A patch is below.

Thanks for maintaining such a wonderfully useful module!

Take care,

Dave

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash Power to the People!
Frolicking in Fields of Garlic Right On-Line!
dave@gnofn.org Dig it all.



diff -Naur lib/DBD/mysql.orig.pm lib/DBD/mysql.pm
--- lib/DBD/mysql.orig.pm Tue Sep 30 12:01:57 2003
+++ lib/DBD/mysql.pm Tue Sep 30 12:02:16 2003
@@ -97,7 +97,6 @@

package DBD::mysql::dr; # ====== DRIVER ======
use strict;
-use DBI qw(:sql_types);

sub connect {
my($drh, $dsn, $username, $password, $attrhash) = @_;
@@ -171,6 +170,7 @@

package DBD::mysql::db; # ====== DATABASE ======
use strict;
+use DBI qw(:sql_types);

%DBD::mysql::db::db2ANSI = ("INT" => "INTEGER",
"CHAR" => "CHAR",


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org