mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
- Apply fix to ulong problem. http://bugs.mysql.com/bug.php?id=22227
- Bump -client PORTREVISION - portlint Approved by: maintainer (ale)
This commit is contained in:
parent
fca73c51b9
commit
41867f003c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173978
@ -6,6 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= mysql
|
PORTNAME= mysql
|
||||||
|
PORTREVISION= 1
|
||||||
PKGNAMESUFFIX= -client
|
PKGNAMESUFFIX= -client
|
||||||
|
|
||||||
COMMENT= Multithreaded SQL database (client)
|
COMMENT= Multithreaded SQL database (client)
|
||||||
|
21
databases/mysql50-server/files/patch-include__mysql_com.h
Normal file
21
databases/mysql50-server/files/patch-include__mysql_com.h
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#
|
||||||
|
# Apply fix for MySQL bug http://bugs.mysql.com/bug.php?id=22227
|
||||||
|
#
|
||||||
|
--- include/mysql_com.h.orig Fri Aug 25 18:11:46 2006
|
||||||
|
+++ include/mysql_com.h Wed Sep 27 10:02:44 2006
|
||||||
|
@@ -134,11 +134,11 @@
|
||||||
|
#define CLIENT_TRANSACTIONS 8192 /* Client knows about transactions */
|
||||||
|
#define CLIENT_RESERVED 16384 /* Old flag for 4.1 protocol */
|
||||||
|
#define CLIENT_SECURE_CONNECTION 32768 /* New 4.1 authentication */
|
||||||
|
-#define CLIENT_MULTI_STATEMENTS (((ulong) 1) << 16) /* Enable/disable multi-stmt support */
|
||||||
|
-#define CLIENT_MULTI_RESULTS (((ulong) 1) << 17) /* Enable/disable multi-results */
|
||||||
|
+#define CLIENT_MULTI_STATEMENTS (1UL << 16) /* Enable/disable multi-stmt support */
|
||||||
|
+#define CLIENT_MULTI_RESULTS (1UL << 17) /* Enable/disable multi-results */
|
||||||
|
|
||||||
|
-#define CLIENT_SSL_VERIFY_SERVER_CERT (((ulong) 1) << 30)
|
||||||
|
-#define CLIENT_REMEMBER_OPTIONS (((ulong) 1) << 31)
|
||||||
|
+#define CLIENT_SSL_VERIFY_SERVER_CERT (1UL << 30)
|
||||||
|
+#define CLIENT_REMEMBER_OPTIONS (1UL << 31)
|
||||||
|
|
||||||
|
#define SERVER_STATUS_IN_TRANS 1 /* Transaction has started */
|
||||||
|
#define SERVER_STATUS_AUTOCOMMIT 2 /* Server in auto_commit mode */
|
Loading…
Reference in New Issue
Block a user