Package: libmysqlclient14-dev
Version: 4.1.11a-4sarge3
Severity: normal
Tags: patch


MYSQL_VERSION_ID is tested before it has been defined.  This leads to
a warning when compiling with -Wundef and it also will break the
internal logic of mysql_com.h as soon as MYSQL_VERSION_ID exceeds
50000.

The problem is fixed with the following patch:

--- mysql.h.old 2006-06-01 13:35:20.000000000 +0200
+++ mysql.h     2006-06-01 13:35:37.000000000 +0200
@@ -54,9 +54,9 @@
 #endif /* my_socket_defined */
 #endif /* _global_h */

+#include "mysql_version.h"
 #include "mysql_com.h"
 #include "mysql_time.h"
-#include "mysql_version.h"
 #include "typelib.h"

 #include "my_list.h" /* for LISTs used in 'MYSQL' and 'MYSQL_STMT' */



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.15-e18-tn1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libmysqlclient14-dev depends on:
ii  libmysqlclient14       4.1.11a-4sarge3   mysql database client library
ii  zlib1g-dev             1:1.2.2-4.sarge.2 compression library - development

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to