summaryrefslogtreecommitdiffstats
path: root/mysql-embedded-crash.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-02-11 20:23:39 +0100
committerRemi Collet <fedora@famillecollet.com>2013-02-11 20:23:39 +0100
commit6824e2d5b2cb30ce3c83da8d33296f02e193ea2a (patch)
tree374fd911369178ee81afbc08e50f935bf188e7f4 /mysql-embedded-crash.patch
parent5731cfe7c0f07bf655dffd9c065398090daa14cb (diff)
compat-mysql55 5.5.30
Diffstat (limited to 'mysql-embedded-crash.patch')
-rw-r--r--mysql-embedded-crash.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/mysql-embedded-crash.patch b/mysql-embedded-crash.patch
deleted file mode 100644
index b445fce..0000000
--- a/mysql-embedded-crash.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Fix crash in embedded mysql library when mysql_library_init() is invoked
-with argc = 0, as is supposed to be a supported thing to do.
-Patch from upstream bug #57931.
-
-
-diff -Naur mysql-5.5.8.orig/libmysqld/lib_sql.cc mysql-5.5.8/libmysqld/lib_sql.cc
---- mysql-5.5.8.orig/libmysqld/lib_sql.cc 2010-12-03 12:58:26.000000000 -0500
-+++ mysql-5.5.8/libmysqld/lib_sql.cc 2011-01-12 23:10:55.837471629 -0500
-@@ -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;