mysql51.patch 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Index: include/Makefile.in
  2. --- include/Makefile.in.orig 2007-05-08 11:42:16 +0200
  3. +++ include/Makefile.in 2007-05-16 21:28:21 +0200
  4. @@ -394,14 +394,14 @@
  5. decimal.h errmsg.h my_global.h my_net.h \
  6. my_getopt.h sslopt-longopts.h my_dir.h \
  7. sslopt-vars.h sslopt-case.h sql_common.h keycache.h \
  8. - m_ctype.h mysql/plugin.h my_attribute.h $(HEADERS_GEN)
  9. + m_ctype.h mysql/plugin.h my_attribute.h rijndael.h sha1.h my_aes.h $(HEADERS_GEN)
  10. noinst_HEADERS = config-win.h config-netware.h \
  11. heap.h my_bitmap.h my_uctype.h \
  12. myisam.h myisampack.h myisammrg.h ft_global.h\
  13. mysys_err.h my_base.h help_start.h help_end.h \
  14. - my_nosys.h my_alarm.h queues.h rijndael.h sha1.h \
  15. - my_aes.h my_tree.h my_trie.h hash.h thr_alarm.h \
  16. + my_nosys.h my_alarm.h queues.h \
  17. + my_tree.h my_trie.h hash.h thr_alarm.h \
  18. thr_lock.h t_ctype.h violite.h md5.h base64.h \
  19. mysql_version.h.in my_handler.h my_time.h \
  20. my_vle.h my_user.h my_atomic.h atomic/nolock.h \
  21. Index: mysys/default.c
  22. --- mysys/default.c.orig 2007-05-08 11:41:21 +0200
  23. +++ mysys/default.c 2007-05-16 21:24:29 +0200
  24. @@ -1011,8 +1011,7 @@
  25. #elif defined(__NETWARE__)
  26. *ptr++= "sys:/etc/";
  27. #else
  28. - *ptr++= "/etc/";
  29. - *ptr++= "/etc/mysql/";
  30. + *ptr++= "@l_prefix@/etc/mysql/";
  31. #endif
  32. if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
  33. *ptr++= env;
  34. Index: scripts/mysql_config.sh
  35. --- scripts/mysql_config.sh.orig 2007-05-08 11:41:08 +0200
  36. +++ scripts/mysql_config.sh 2007-05-16 21:24:29 +0200
  37. @@ -97,9 +97,9 @@
  38. # Create options
  39. # We intentionally add a space to the beginning and end of lib strings, simplifies replace later
  40. -libs=" $ldflags -L$pkglibdir -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
  41. +libs=" $ldflags -L$pkglibdir -lmysqlclient -lmysys @ZLIB_DEPS@ @NON_THREADED_LIBS@"
  42. libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "
  43. -libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @ZLIB_DEPS@ @LIBS@ @openssl_libs@ "
  44. +libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r -lmysys @ZLIB_DEPS@ @LIBS@ @openssl_libs@ "
  45. embedded_libs=" $ldflags -L$pkglibdir -lmysqld @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @innodb_system_libs@ @openssl_libs@ "
  46. cflags="-I$pkgincludedir @CFLAGS@ " #note: end space!
  47. Index: scripts/mysql_system_tables_data.sql
  48. --- scripts/mysql_system_tables_data.sql.orig 2007-05-08 11:40:59 +0200
  49. +++ scripts/mysql_system_tables_data.sql 2007-05-16 21:29:50 +0200
  50. @@ -5,8 +5,6 @@
  51. -- Fill "db" table with default grants for anyone to
  52. -- access database 'test' and 'test_%' if "db" table didn't exist
  53. CREATE TEMPORARY TABLE tmp_db LIKE db;
  54. -INSERT INTO tmp_db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');
  55. -INSERT INTO tmp_db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');
  56. INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;
  57. DROP TABLE tmp_db;
  58. Index: sql/Makefile.in
  59. --- sql/Makefile.in.orig 2007-05-08 11:42:28 +0200
  60. +++ sql/Makefile.in 2007-05-16 21:24:29 +0200
  61. @@ -502,7 +502,7 @@
  62. $(top_builddir)/strings/libmystrings.a
  63. mysqld_DEPENDENCIES = @mysql_plugin_libs@ $(SUPPORTING_LIBS)
  64. -LDADD = $(SUPPORTING_LIBS) @ZLIB_LIBS@
  65. +LDADD = $(SUPPORTING_LIBS)
  66. mysqld_LDADD = @MYSQLD_EXTRA_LDFLAGS@ \
  67. @pstack_libs@ \
  68. @mysql_plugin_libs@ \