[vhffs-dev] [1321] added patch for mysql 5.1

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1321
Author:   gradator
Date:     2008-12-24 17:20:33 +0100 (Wed, 24 Dec 2008)

Log Message:
-----------
added patch for mysql 5.1

Added Paths:
-----------
    trunk/vhffs-packages/patches/mysql-5.0.32-username-len.patch
    trunk/vhffs-packages/patches/mysql-5.1.30-username-len.patch

Removed Paths:
-------------
    trunk/vhffs-packages/patches/mysql-username-len.patch


Copied: trunk/vhffs-packages/patches/mysql-5.0.32-username-len.patch (from rev 1318, trunk/vhffs-packages/patches/mysql-username-len.patch)
===================================================================
--- trunk/vhffs-packages/patches/mysql-5.0.32-username-len.patch	                        (rev 0)
+++ trunk/vhffs-packages/patches/mysql-5.0.32-username-len.patch	2008-12-24 16:20:33 UTC (rev 1321)
@@ -0,0 +1,14 @@
+diff -Nru a/include/mysql_com.h b/include/mysql_com.h
+--- a/include/mysql_com.h	2004-09-07 00:29:46.000000000 +0200
++++ b/include/mysql_com.h	2004-11-07 23:33:36.000000000 +0100
+@@ -22,8 +22,8 @@
+ #define _mysql_com_h
+ 
+ #define NAME_LEN	64		/* Field/table name length */
+-#define HOSTNAME_LENGTH 60
+-#define USERNAME_LENGTH 16
++#define HOSTNAME_LENGTH 64
++#define USERNAME_LENGTH 128
+ #define SERVER_VERSION_LENGTH 60
+ 
+ #define LOCAL_HOST	"localhost"

Added: trunk/vhffs-packages/patches/mysql-5.1.30-username-len.patch
===================================================================
--- trunk/vhffs-packages/patches/mysql-5.1.30-username-len.patch	                        (rev 0)
+++ trunk/vhffs-packages/patches/mysql-5.1.30-username-len.patch	2008-12-24 16:20:33 UTC (rev 1321)
@@ -0,0 +1,16 @@
+diff -Nru a/include/mysql_com.h b/include/mysql_com.h
+--- a/include/mysql_com.h	2008-12-24 16:14:50.000000000 +0000
++++ b/include/mysql_com.h	2008-12-24 16:15:44.000000000 +0000
+@@ -20,10 +20,10 @@
+ #ifndef _mysql_com_h
+ #define _mysql_com_h
+ 
+-#define HOSTNAME_LENGTH 60
++#define HOSTNAME_LENGTH 64
+ #define SYSTEM_CHARSET_MBMAXLEN 3
+ #define NAME_CHAR_LEN	64              /* Field/table name length */
+-#define USERNAME_CHAR_LENGTH 16
++#define USERNAME_CHAR_LENGTH 128
+ #define NAME_LEN                (NAME_CHAR_LEN*SYSTEM_CHARSET_MBMAXLEN)
+ #define USERNAME_LENGTH         (USERNAME_CHAR_LENGTH*SYSTEM_CHARSET_MBMAXLEN)
+ 

Deleted: trunk/vhffs-packages/patches/mysql-username-len.patch
===================================================================
--- trunk/vhffs-packages/patches/mysql-username-len.patch	2008-12-24 15:58:02 UTC (rev 1320)
+++ trunk/vhffs-packages/patches/mysql-username-len.patch	2008-12-24 16:20:33 UTC (rev 1321)
@@ -1,14 +0,0 @@
-diff -Nru a/include/mysql_com.h b/include/mysql_com.h
---- a/include/mysql_com.h	2004-09-07 00:29:46.000000000 +0200
-+++ b/include/mysql_com.h	2004-11-07 23:33:36.000000000 +0100
-@@ -22,8 +22,8 @@
- #define _mysql_com_h
- 
- #define NAME_LEN	64		/* Field/table name length */
--#define HOSTNAME_LENGTH 60
--#define USERNAME_LENGTH 16
-+#define HOSTNAME_LENGTH 64
-+#define USERNAME_LENGTH 128
- #define SERVER_VERSION_LENGTH 60
- 
- #define LOCAL_HOST	"localhost"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/