Compilation Error: In MySQL version 4.1.3 the format of the mysql_shutdown function changed. It now takes an extra argument to define the shutdown level. The MySQL Navigator code needs to check the MySQL version, and apply a default shutdown level argument when compiling against newer versions of MySQL. Fix: +#if ( MYSQL_VERSION_ID >= 40103 && MYSQL_VERSION_ID < 50000 ) || ( MYSQL_VERSION_ID >= 50001 ) + if(mysql_shutdown(&mysql, SHUTDOWN_DEFAULT)) +#else if(mysql_shutdown(&mysql)) +#endif { QMessageBox::critical(this, tr("MySQL Navigator"), QString::fromLocal8Bit(mysql_error(&mysql))); }--5tS2O7LM3Ym8AE0mhuDbMlYHDoS14Jl27N3e0jC4HiCrho6x Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- src/mysql/mainwindow/mainwindowslotshutdown.cxx.orig Mon Mar 4 21:13:22 2002 +++ src/mysql/mainwindow/mainwindowslotshutdown.cxx Sun Nov 21 17:08:38 2004 @@ -9,7 +9,11 @@ if(z == 1) return; How-To-Repeat: cd /usr/ports/databases/mysql41-server make install clean cd /usr/ports/databases/mysql-navigator make install clean
Responsible Changed From-To: freebsd-ports-bugs->demon Over to maintainer.
State Changed From-To: open->closed Patch committed, thanks!