Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 6889
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: simon [...] highlyillogical.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.9003
Fixed in: (no value)

Attachments
DBD-mysql-2.9003-mysql4.1.3.diff



Subject: DBD-mysql does not compile against mysql-4.1.3
Download (untitled) / with headers
text/plain 159b
mysql_shutdown has changed in 4.1.3 and now accepts a second argument. Calls with only one argument do not work. The attached patch appears to fix the problem.
diff --unified --recursive DBD-mysql-2.9003.old/mysql.xs DBD-mysql-2.9003/mysql.xs --- DBD-mysql-2.9003.old/mysql.xs 2004-07-07 19:52:48.273672272 +0100 +++ DBD-mysql-2.9003/mysql.xs 2004-07-07 19:54:32.450834936 +0100 @@ -97,7 +97,11 @@ } if (strEQ(command, "shutdown")) { +#if MYSQL_VERSION_ID >= 40103 + result = mysql_shutdown(sock,SHUTDOWN_DEFAULT); +#else result = mysql_shutdown(sock); +#endif } else if (strEQ(command, "reload")) { result = mysql_reload(sock); } else if (strEQ(command, "createdb")) {
Download (untitled) / with headers
text/plain 318b
[guest - Thu Jul 8 07:18:44 2004]: Show quoted text
> mysql_shutdown has changed in 4.1.3 and now accepts a second argument. > Calls with only one argument do not work. The attached patch appears > to fix the problem.
This is already in 2.9004_2, in fact this is why there is a 2.9004_2 :) I will release a final 2.9004 later today.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.