[vhffs-dev] [1388] * Converted mysql patches from patch to dpatch |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1388
Author: gradator
Date: 2009-04-06 19:13:14 +0200 (Mon, 06 Apr 2009)
Log Message:
-----------
* Converted mysql patches from patch to dpatch
* Converted mysql patches from mysql-5.0.32 to mysql-dfsg-5.0-5.0.51a
(which also means from Very-Old-Stuff to Lenny)
Added Paths:
-----------
trunk/vhffs-packages/patches/mysql/200_mysql-dfsg-5.0-5.0.51a-username-length.dpatch
Removed Paths:
-------------
trunk/vhffs-packages/patches/mysql/mysql-5.0.32-username-len.patch
Copied: trunk/vhffs-packages/patches/mysql/200_mysql-dfsg-5.0-5.0.51a-username-length.dpatch (from rev 1387, trunk/vhffs-packages/patches/mysql/mysql-5.0.32-username-len.patch)
===================================================================
--- trunk/vhffs-packages/patches/mysql/200_mysql-dfsg-5.0-5.0.51a-username-length.dpatch (rev 0)
+++ trunk/vhffs-packages/patches/mysql/200_mysql-dfsg-5.0-5.0.51a-username-length.dpatch 2009-04-06 17:13:14 UTC (rev 1388)
@@ -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 mysql-dfsg-5.0-5.0.51a.orig/include/mysql_com.h mysql-dfsg-5.0-5.0.51a/include/mysql_com.h
+--- mysql-dfsg-5.0-5.0.51a.orig/include/mysql_com.h 2008-01-11 14:43:14.000000000 +0000
++++ mysql-dfsg-5.0-5.0.51a/include/mysql_com.h 2009-04-06 16:56:59.000000000 +0000
+@@ -21,8 +21,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.0.32-username-len.patch
===================================================================
--- trunk/vhffs-packages/patches/mysql/mysql-5.0.32-username-len.patch 2009-04-06 16:33:50 UTC (rev 1387)
+++ trunk/vhffs-packages/patches/mysql/mysql-5.0.32-username-len.patch 2009-04-06 17:13:14 UTC (rev 1388)
@@ -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"