diff options
author | ale <ale@FreeBSD.org> | 2011-01-13 17:15:22 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2011-01-13 17:15:22 +0800 |
commit | 2188090d9d9b35d0194d1db965714a1ce3a69fd3 (patch) | |
tree | f31a3415015e2d3d5f89945188f3b8011142c70c /databases/mysql55-server | |
parent | dac9a4e7039945eb2f5a90d208898f116b8423e8 (diff) | |
download | freebsd-ports-gnome-2188090d9d9b35d0194d1db965714a1ce3a69fd3.tar.gz freebsd-ports-gnome-2188090d9d9b35d0194d1db965714a1ce3a69fd3.tar.zst freebsd-ports-gnome-2188090d9d9b35d0194d1db965714a1ce3a69fd3.zip |
Fix init_embedded_server when argc=0.
Submitted by: fluffy
Obtained from: MySQL Bug #57931
Feature safe: yes
Diffstat (limited to 'databases/mysql55-server')
-rw-r--r-- | databases/mysql55-server/Makefile | 2 | ||||
-rw-r--r-- | databases/mysql55-server/files/patch-libmysqld_lib_sql.cc | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile index d1f29e8bb903..8b0d578e7852 100644 --- a/databases/mysql55-server/Makefile +++ b/databases/mysql55-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mysql PORTVERSION= 5.5.8 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= databases ipv6 MASTER_SITES= ${MASTER_SITE_MYSQL} MASTER_SITE_SUBDIR= MySQL-5.5 diff --git a/databases/mysql55-server/files/patch-libmysqld_lib_sql.cc b/databases/mysql55-server/files/patch-libmysqld_lib_sql.cc new file mode 100644 index 000000000000..bc520caf038e --- /dev/null +++ b/databases/mysql55-server/files/patch-libmysqld_lib_sql.cc @@ -0,0 +1,13 @@ +--- libmysqld/lib_sql.cc.orig 2011-01-13 09:53:29.000000000 +0100 ++++ libmysqld/lib_sql.cc 2011-01-13 09:54:03.000000000 +0100 +@@ -510,8 +510,8 @@ + return 1; + defaults_argc= *argcp; + defaults_argv= *argvp; +- remaining_argc= argc; +- remaining_argv= argv; ++ remaining_argc= *argcp; ++ remaining_argv= *argvp; + + /* Must be initialized early for comparison of options name */ + system_charset_info= &my_charset_utf8_general_ci; |