~percona-dev/percona-server/release-5.5.11-20.2-fix-bug-764138

« back to all changes in this revision

Viewing changes to mysql_syslog.patch

  • Committer: Ignacio Nin
  • Date: 2011-03-27 18:30:06 UTC
  • mfrom: (88.2.3 5.5.10)
  • Revision ID: ignacio.nin@percona.com-20110327183006-ij0o2pdyhzaerish
Merge 5.5.10 changes

Merge 5.5.10 changes to release-5.5.9-20.1 in order to create release-5.5.10-20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
+  OPT_SYSLOG,
17
17
+#endif
18
18
   OPT_PLUGIN_DIR,
 
19
   OPT_DEFAULT_AUTH,
19
20
   OPT_DEFAULT_PLUGIN,
20
 
   OPT_MAX_CLIENT_OPTION
21
21
diff -ruN a/client/mysql.cc b/client/mysql.cc
22
22
--- a/client/mysql.cc   2010-12-03 20:58:26.000000000 +0300
23
23
+++ b/client/mysql.cc   2011-01-13 18:38:21.000000000 +0300
50
50
 static void tee_print_sized_data(const char *, unsigned int, unsigned int, bool);
51
51
 /* The names of functions that actually do the manipulation. */
52
52
 static int get_options(int argc,char **argv);
53
 
@@ -1561,6 +1567,10 @@
 
53
@@ -1563,6 +1569,10 @@
54
54
   {"show-warnings", OPT_SHOW_WARNINGS, "Show warnings after every statement.",
55
55
     &show_warnings, &show_warnings, 0, GET_BOOL, NO_ARG,
56
56
     0, 0, 0, 0, 0, 0},
61
61
   {"plugin_dir", OPT_PLUGIN_DIR, "Directory for client-side plugins.",
62
62
    (uchar**) &opt_plugin_dir, (uchar**) &opt_plugin_dir, 0,
63
63
    GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
64
 
@@ -1665,6 +1675,11 @@
 
64
@@ -1667,6 +1677,11 @@
65
65
                                     opt->name);
66
66
 #endif
67
67
     break;
73
73
   case OPT_SERVER_ARG:
74
74
 #ifdef EMBEDDED_LIBRARY
75
75
     /*
76
 
@@ -2014,6 +2029,40 @@
 
76
@@ -2020,6 +2035,40 @@
77
77
   DBUG_RETURN((COMMANDS *) 0);
78
78
 }
79
79
 
114
114
 
115
115
 static bool add_line(String &buffer,char *line,char *in_string,
116
116
                      bool *ml_comment, bool truncated)
117
 
@@ -2990,6 +3039,11 @@
 
117
@@ -2996,6 +3045,11 @@
118
118
     fix_history(buffer);
119
119
   }
120
120
 #endif