[vhffs-dev] [1395] now using dpatch for mysql Debian Etch patch

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


Revision: 1395
Author:   gradator
Date:     2009-05-03 19:48:01 +0200 (Sun, 03 May 2009)

Log Message:
-----------
now using dpatch for mysql Debian Etch patch

Added Paths:
-----------
    trunk/vhffs-packages/patches/mysql/200_mysql-dfsg-5.0-5.0.32-username-length.dpatch

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


Added: trunk/vhffs-packages/patches/mysql/200_mysql-dfsg-5.0-5.0.32-username-length.dpatch
===================================================================
--- trunk/vhffs-packages/patches/mysql/200_mysql-dfsg-5.0-5.0.32-username-length.dpatch	                        (rev 0)
+++ trunk/vhffs-packages/patches/mysql/200_mysql-dfsg-5.0-5.0.32-username-length.dpatch	2009-05-03 17:48:01 UTC (rev 1395)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 200_mysql-dfsg-5.0-5.0.51a-username-length.dpatch
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: TuxFamily patch to raise the database name length from 16 to 64 characters
+
+@DPATCH@
+diff -Nru a/include/mysql_com.h b/include/mysql_com.h
+--- a/include/mysql_com.h	2006-12-20 11:14:04.000000000 +0000
++++ b/include/mysql_com.h	2009-05-03 17:36:28.000000000 +0000
+@@ -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 SQLSTATE_LENGTH 5
+ 

Deleted: trunk/vhffs-packages/patches/mysql/mysql-5.1.30-username-len.patch
===================================================================
--- trunk/vhffs-packages/patches/mysql/mysql-5.1.30-username-len.patch	2009-04-19 20:45:01 UTC (rev 1394)
+++ trunk/vhffs-packages/patches/mysql/mysql-5.1.30-username-len.patch	2009-05-03 17:48:01 UTC (rev 1395)
@@ -1,16 +0,0 @@
-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)
- 


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