Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
73883313
Commit
73883313
authored
Mar 22, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/cps/mysql/devel/im-failure-fix
into mysql.com:/home/cps/mysql/devel/merge-5.0
parents
b6758fa7
683a5e6d
Changes
23
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
55 additions
and
43 deletions
+55
-43
server-tools/instance-manager/commands.cc
server-tools/instance-manager/commands.cc
+5
-2
server-tools/instance-manager/commands.h
server-tools/instance-manager/commands.h
+1
-1
server-tools/instance-manager/factory.cc
server-tools/instance-manager/factory.cc
+0
-5
server-tools/instance-manager/guardian.cc
server-tools/instance-manager/guardian.cc
+2
-0
server-tools/instance-manager/guardian.h
server-tools/instance-manager/guardian.h
+2
-1
server-tools/instance-manager/instance.cc
server-tools/instance-manager/instance.cc
+3
-3
server-tools/instance-manager/instance.h
server-tools/instance-manager/instance.h
+0
-2
server-tools/instance-manager/instance_map.cc
server-tools/instance-manager/instance_map.cc
+2
-1
server-tools/instance-manager/instance_map.h
server-tools/instance-manager/instance_map.h
+4
-3
server-tools/instance-manager/instance_options.cc
server-tools/instance-manager/instance_options.cc
+2
-0
server-tools/instance-manager/log.cc
server-tools/instance-manager/log.cc
+3
-1
server-tools/instance-manager/manager.cc
server-tools/instance-manager/manager.cc
+1
-1
server-tools/instance-manager/messages.cc
server-tools/instance-manager/messages.cc
+5
-2
server-tools/instance-manager/messages.h
server-tools/instance-manager/messages.h
+0
-3
server-tools/instance-manager/mysql_connection.cc
server-tools/instance-manager/mysql_connection.cc
+10
-7
server-tools/instance-manager/mysqlmanager.cc
server-tools/instance-manager/mysqlmanager.cc
+2
-1
server-tools/instance-manager/options.cc
server-tools/instance-manager/options.cc
+2
-3
server-tools/instance-manager/parse.cc
server-tools/instance-manager/parse.cc
+1
-0
server-tools/instance-manager/parse_output.cc
server-tools/instance-manager/parse_output.cc
+1
-1
server-tools/instance-manager/protocol.cc
server-tools/instance-manager/protocol.cc
+4
-4
server-tools/instance-manager/protocol.h
server-tools/instance-manager/protocol.h
+1
-0
server-tools/instance-manager/thread_registry.cc
server-tools/instance-manager/thread_registry.cc
+2
-1
server-tools/instance-manager/user_map.h
server-tools/instance-manager/user_map.h
+2
-1
No files found.
server-tools/instance-manager/commands.cc
View file @
73883313
...
@@ -14,14 +14,17 @@
...
@@ -14,14 +14,17 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "command.h"
#include "commands.h"
#include "commands.h"
#include "instance.h"
#include "instance_map.h"
#include "instance_map.h"
#include "messages.h"
#include "messages.h"
#include "mysqld_error.h"
#include "mysql_manager_error.h"
#include "protocol.h"
#include "protocol.h"
#include "buffer.h"
#include "buffer.h"
#include <m_string.h>
#include <m_string.h>
#include <mysql.h>
/* implementation for Show_instances: */
/* implementation for Show_instances: */
...
...
server-tools/instance-manager/commands.h
View file @
73883313
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "command.h"
#include "instance.h"
#include "instance.h"
#include "my_global.h"
/*
/*
Print all instances of this instance manager.
Print all instances of this instance manager.
...
...
server-tools/instance-manager/factory.cc
View file @
73883313
...
@@ -15,11 +15,6 @@
...
@@ -15,11 +15,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "factory.h"
#include "factory.h"
#include "my_global.h"
#include <stdio.h>
#include <ctype.h>
Show_instances
*
Command_factory
::
new_Show_instances
()
Show_instances
*
Command_factory
::
new_Show_instances
()
{
{
...
...
server-tools/instance-manager/guardian.cc
View file @
73883313
...
@@ -20,10 +20,12 @@
...
@@ -20,10 +20,12 @@
#endif
#endif
#include "guardian.h"
#include "guardian.h"
#include "instance_map.h"
#include "instance_map.h"
#include "instance.h"
#include "instance.h"
#include "mysql_manager_error.h"
#include "mysql_manager_error.h"
#include "log.h"
#include "log.h"
#include <string.h>
#include <string.h>
#include <sys/types.h>
#include <sys/types.h>
#include <signal.h>
#include <signal.h>
...
...
server-tools/instance-manager/guardian.h
View file @
73883313
...
@@ -17,9 +17,10 @@
...
@@ -17,9 +17,10 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#include <my_global.h>
#include "thread_registry.h"
#include <my_sys.h>
#include <my_sys.h>
#include <my_list.h>
#include <my_list.h>
#include "thread_registry.h"
#ifdef __GNUC__
#ifdef __GNUC__
#pragma interface
#pragma interface
...
...
server-tools/instance-manager/instance.cc
View file @
73883313
...
@@ -19,16 +19,16 @@
...
@@ -19,16 +19,16 @@
#endif
#endif
#include "instance.h"
#include "instance.h"
#include "mysql_manager_error.h"
#include "mysql_manager_error.h"
#include "log.h"
#include "log.h"
#include "instance_map.h"
#include "instance_map.h"
#include "priv.h"
#include "priv.h"
#include <sys/wait.h>
#include <my_sys.h>
#include <my_sys.h>
#include <signal.h>
#include <m_string.h>
#include <m_string.h>
#include <sys/wait.h>
#include <mysql.h>
C_MODE_START
C_MODE_START
...
...
server-tools/instance-manager/instance.h
View file @
73883313
...
@@ -17,8 +17,6 @@
...
@@ -17,8 +17,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#include <my_global.h>
#include <my_sys.h>
#include <mysql.h>
#include "instance_options.h"
#include "instance_options.h"
#ifdef __GNUC__
#ifdef __GNUC__
...
...
server-tools/instance-manager/instance_map.cc
View file @
73883313
...
@@ -19,10 +19,11 @@
...
@@ -19,10 +19,11 @@
#endif
#endif
#include "instance_map.h"
#include "instance_map.h"
#include "buffer.h"
#include "buffer.h"
#include "instance.h"
#include "instance.h"
#include <m_ctype.h>
#include <m_ctype.h>
#include <my_sys.h>
#include <mysql_com.h>
#include <mysql_com.h>
#include <m_string.h>
#include <m_string.h>
...
...
server-tools/instance-manager/instance_map.h
View file @
73883313
...
@@ -17,6 +17,10 @@
...
@@ -17,6 +17,10 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#include <my_global.h>
#include "protocol.h"
#include "guardian.h"
#include <my_sys.h>
#include <my_sys.h>
#include <hash.h>
#include <hash.h>
...
@@ -24,9 +28,6 @@
...
@@ -24,9 +28,6 @@
#pragma interface
#pragma interface
#endif
#endif
#include "protocol.h"
#include "guardian.h"
class
Instance
;
class
Instance
;
extern
int
load_all_groups
(
char
***
groups
,
const
char
*
filename
);
extern
int
load_all_groups
(
char
***
groups
,
const
char
*
filename
);
extern
void
free_groups
(
char
**
groups
);
extern
void
free_groups
(
char
**
groups
);
...
...
server-tools/instance-manager/instance_options.cc
View file @
73883313
...
@@ -19,8 +19,10 @@
...
@@ -19,8 +19,10 @@
#endif
#endif
#include "instance_options.h"
#include "instance_options.h"
#include "parse_output.h"
#include "parse_output.h"
#include "buffer.h"
#include "buffer.h"
#include <my_sys.h>
#include <my_sys.h>
#include <mysql.h>
#include <mysql.h>
#include <signal.h>
#include <signal.h>
...
...
server-tools/instance-manager/log.cc
View file @
73883313
...
@@ -14,8 +14,10 @@
...
@@ -14,8 +14,10 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "log.h"
#include <my_global.h>
#include <my_global.h>
#include "log.h"
#include <stdarg.h>
#include <stdarg.h>
#include <m_string.h>
#include <m_string.h>
#include <my_sys.h>
#include <my_sys.h>
...
...
server-tools/instance-manager/manager.cc
View file @
73883313
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#include "manager.h"
#include "manager.h"
#include "priv.h"
#include "priv.h"
...
@@ -25,7 +26,6 @@
...
@@ -25,7 +26,6 @@
#include "log.h"
#include "log.h"
#include "guardian.h"
#include "guardian.h"
#include <my_global.h>
#include <my_sys.h>
#include <my_sys.h>
#include <m_string.h>
#include <m_string.h>
#include <signal.h>
#include <signal.h>
...
...
server-tools/instance-manager/messages.cc
View file @
73883313
...
@@ -13,11 +13,14 @@
...
@@ -13,11 +13,14 @@
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "messages.h"
#include <my_global.h>
#include <my_global.h>
#include
<mysql_com.h>
#include
"messages.h"
#include "mysqld_error.h"
#include "mysql_manager_error.h"
#include <mysql_com.h>
#include <assert.h>
#include <assert.h>
...
...
server-tools/instance-manager/messages.h
View file @
73883313
...
@@ -16,9 +16,6 @@
...
@@ -16,9 +16,6 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "mysqld_error.h"
#include "mysql_manager_error.h"
const
char
*
message
(
unsigned
sql_errno
);
const
char
*
message
(
unsigned
sql_errno
);
const
char
*
errno_to_sqlstate
(
unsigned
sql_errno
);
const
char
*
errno_to_sqlstate
(
unsigned
sql_errno
);
...
...
server-tools/instance-manager/mysql_connection.cc
View file @
73883313
...
@@ -19,14 +19,10 @@
...
@@ -19,14 +19,10 @@
#endif
#endif
#include "mysql_connection.h"
#include "mysql_connection.h"
#include "priv.h"
#include <mysql.h>
#include <violite.h>
#include <mysql_com.h>
#include <m_string.h>
#include <my_sys.h>
#include "priv.h"
#include "mysql_manager_error.h"
#include "mysqld_error.h"
#include "thread_registry.h"
#include "thread_registry.h"
#include "log.h"
#include "log.h"
#include "user_map.h"
#include "user_map.h"
...
@@ -36,6 +32,13 @@
...
@@ -36,6 +32,13 @@
#include "factory.h"
#include "factory.h"
#include "parse.h"
#include "parse.h"
#include <mysql.h>
#include <violite.h>
#include <mysql_com.h>
#include <m_string.h>
#include <my_sys.h>
Command
*
parse_command
(
Command_factory
*
factory
,
const
char
*
text
);
Command
*
parse_command
(
Command_factory
*
factory
,
const
char
*
text
);
Mysql_connection_thread_args
::
Mysql_connection_thread_args
(
Mysql_connection_thread_args
::
Mysql_connection_thread_args
(
...
...
server-tools/instance-manager/mysqlmanager.cc
View file @
73883313
...
@@ -14,11 +14,12 @@
...
@@ -14,11 +14,12 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#include "manager.h"
#include "manager.h"
#include "options.h"
#include "options.h"
#include "log.h"
#include "log.h"
#include <my_global.h>
#include <my_sys.h>
#include <my_sys.h>
#include <string.h>
#include <string.h>
#include <signal.h>
#include <signal.h>
...
...
server-tools/instance-manager/options.cc
View file @
73883313
...
@@ -20,14 +20,13 @@
...
@@ -20,14 +20,13 @@
#include "options.h"
#include "options.h"
#include <my_global.h>
#include "priv.h"
#include <my_sys.h>
#include <my_sys.h>
#include <my_getopt.h>
#include <my_getopt.h>
#include <m_string.h>
#include <m_string.h>
#include <mysql_com.h>
#include <mysql_com.h>
#include "priv.h"
#define QUOTE2(x) #x
#define QUOTE2(x) #x
#define QUOTE(x) QUOTE2(x)
#define QUOTE(x) QUOTE2(x)
...
...
server-tools/instance-manager/parse.cc
View file @
73883313
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "parse.h"
#include "parse.h"
#include <string.h>
#include <string.h>
enum
Token
enum
Token
...
...
server-tools/instance-manager/parse_output.cc
View file @
73883313
...
@@ -14,10 +14,10 @@
...
@@ -14,10 +14,10 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#include "parse.h"
#include "parse.h"
#include <stdio.h>
#include <stdio.h>
#include <my_global.h>
#include <my_sys.h>
#include <my_sys.h>
#include <string.h>
#include <string.h>
...
...
server-tools/instance-manager/protocol.cc
View file @
73883313
...
@@ -14,13 +14,13 @@
...
@@ -14,13 +14,13 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <my_global.h>
#include "protocol.h"
#include <my_sys.h>
#include "messages.h"
#include <mysql_com.h>
#include <mysql_com.h>
#include <m_string.h>
#include <m_string.h>
#include "messages.h"
#include "protocol.h"
static
char
eof_buff
[
1
]
=
{
(
char
)
254
};
/* Marker for end of fields */
static
char
eof_buff
[
1
]
=
{
(
char
)
254
};
/* Marker for end of fields */
...
...
server-tools/instance-manager/protocol.h
View file @
73883313
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "buffer.h"
#include "buffer.h"
#include <my_list.h>
#include <my_list.h>
typedef
struct
field
{
typedef
struct
field
{
...
...
server-tools/instance-manager/thread_registry.cc
View file @
73883313
...
@@ -20,10 +20,11 @@
...
@@ -20,10 +20,11 @@
#include "thread_registry.h"
#include "thread_registry.h"
#include "log.h"
#include <assert.h>
#include <assert.h>
#include <signal.h>
#include <signal.h>
#include <thr_alarm.h>
#include <thr_alarm.h>
#include "log.h"
/* Kick-off signal handler */
/* Kick-off signal handler */
...
...
server-tools/instance-manager/user_map.h
View file @
73883313
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#endif
#endif
#include <my_global.h>
#include <my_global.h>
#include <my_sys.h>
#include <my_sys.h>
#include <hash.h>
#include <hash.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment