diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2004-12-31 12:07:35 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2004-12-31 12:07:35 +0000 |
commit | f4ac833f705ab9a69bfc2a755723283f23de67a2 (patch) | |
tree | ff50dc3d52563e0246b3414f381361eb632fea6d /databases | |
parent | eac3f885cca9a40042ff68cd9a794baef6298224 (diff) |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql-navigator/files/patch-src-mysql-mainwindow-mainwindowslotshutdown.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/mysql-navigator/files/patch-src-mysql-mainwindow-mainwindowslotshutdown.cxx b/databases/mysql-navigator/files/patch-src-mysql-mainwindow-mainwindowslotshutdown.cxx new file mode 100644 index 000000000000..1c1c81e72242 --- /dev/null +++ b/databases/mysql-navigator/files/patch-src-mysql-mainwindow-mainwindowslotshutdown.cxx @@ -0,0 +1,14 @@ +--- src/mysql/mainwindow/mainwindowslotshutdown.cxx.orig Tue Mar 5 07:13:22 2002 ++++ src/mysql/mainwindow/mainwindowslotshutdown.cxx Fri Dec 31 12:49:00 2004 +@@ -9,7 +9,11 @@ + if(z == 1) + return; + ++#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))); + } |