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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a1b609f0
Commit
a1b609f0
authored
Oct 04, 2005
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
parents
b02870d6
4099872e
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
45 additions
and
11 deletions
+45
-11
cmd-line-utils/readline/complete.c
cmd-line-utils/readline/complete.c
+10
-0
cmd-line-utils/readline/display.c
cmd-line-utils/readline/display.c
+9
-0
cmd-line-utils/readline/mbutil.c
cmd-line-utils/readline/mbutil.c
+10
-0
server-tools/instance-manager/protocol.cc
server-tools/instance-manager/protocol.cc
+2
-3
sql/log.cc
sql/log.cc
+2
-0
sql/mysql_priv.h
sql/mysql_priv.h
+3
-2
sql/mysqld.cc
sql/mysqld.cc
+5
-4
sql/slave.cc
sql/slave.cc
+2
-1
sql/slave.h
sql/slave.h
+2
-1
No files found.
cmd-line-utils/readline/complete.c
View file @
a1b609f0
...
@@ -24,6 +24,12 @@
...
@@ -24,6 +24,12 @@
#include "config_readline.h"
#include "config_readline.h"
#include <sys/types.h>
#include <sys/types.h>
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#include <fcntl.h>
#include <fcntl.h>
#if defined (HAVE_SYS_FILE_H)
#if defined (HAVE_SYS_FILE_H)
...
@@ -56,6 +62,10 @@ extern int errno;
...
@@ -56,6 +62,10 @@ extern int errno;
#include "rldefs.h"
#include "rldefs.h"
#include "rlmbutil.h"
#include "rlmbutil.h"
#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
/* Some standard library routines. */
/* Some standard library routines. */
#include "readline.h"
#include "readline.h"
#include "xmalloc.h"
#include "xmalloc.h"
...
...
cmd-line-utils/readline/display.c
View file @
a1b609f0
...
@@ -25,6 +25,11 @@
...
@@ -25,6 +25,11 @@
#include <sys/types.h>
#include <sys/types.h>
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#if defined (HAVE_UNISTD_H)
#if defined (HAVE_UNISTD_H)
# include <unistd.h>
# include <unistd.h>
#endif
/* HAVE_UNISTD_H */
#endif
/* HAVE_UNISTD_H */
...
@@ -43,6 +48,10 @@
...
@@ -43,6 +48,10 @@
#include "rldefs.h"
#include "rldefs.h"
#include "rlmbutil.h"
#include "rlmbutil.h"
#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
/* Termcap library stuff. */
/* Termcap library stuff. */
#include "tcap.h"
#include "tcap.h"
...
...
cmd-line-utils/readline/mbutil.c
View file @
a1b609f0
...
@@ -24,6 +24,12 @@
...
@@ -24,6 +24,12 @@
#include "config_readline.h"
#include "config_readline.h"
#include <sys/types.h>
#include <sys/types.h>
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#include <fcntl.h>
#include <fcntl.h>
#include "posixjmp.h"
#include "posixjmp.h"
...
@@ -44,6 +50,10 @@
...
@@ -44,6 +50,10 @@
#include "rldefs.h"
#include "rldefs.h"
#include "rlmbutil.h"
#include "rlmbutil.h"
#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
#if defined (TIOCSTAT_IN_SYS_IOCTL)
#if defined (TIOCSTAT_IN_SYS_IOCTL)
# include <sys/ioctl.h>
# include <sys/ioctl.h>
#endif
/* TIOCSTAT_IN_SYS_IOCTL */
#endif
/* TIOCSTAT_IN_SYS_IOCTL */
...
...
server-tools/instance-manager/protocol.cc
View file @
a1b609f0
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
static
char
eof_buff
[
1
]
=
{
(
char
)
254
};
/* Marker for end of fields */
static
char
eof_buff
[
1
]
=
{
(
char
)
254
};
/* Marker for end of fields */
static
const
char
ERROR_PACKET_CODE
=
(
char
)
255
;
int
net_send_ok
(
struct
st_net
*
net
,
unsigned
long
connection_id
,
int
net_send_ok
(
struct
st_net
*
net
,
unsigned
long
connection_id
,
...
@@ -74,7 +75,6 @@ int net_send_error(struct st_net *net, uint sql_errno)
...
@@ -74,7 +75,6 @@ int net_send_error(struct st_net *net, uint sql_errno)
MYSQL_ERRMSG_SIZE
];
// message
MYSQL_ERRMSG_SIZE
];
// message
char
*
pos
=
buff
;
char
*
pos
=
buff
;
const
int
ERROR_PACKET_CODE
=
255
;
*
pos
++=
ERROR_PACKET_CODE
;
*
pos
++=
ERROR_PACKET_CODE
;
int2store
(
pos
,
sql_errno
);
int2store
(
pos
,
sql_errno
);
pos
+=
2
;
pos
+=
2
;
...
@@ -95,7 +95,6 @@ int net_send_error_323(struct st_net *net, uint sql_errno)
...
@@ -95,7 +95,6 @@ int net_send_error_323(struct st_net *net, uint sql_errno)
MYSQL_ERRMSG_SIZE
];
// message
MYSQL_ERRMSG_SIZE
];
// message
char
*
pos
=
buff
;
char
*
pos
=
buff
;
const
int
ERROR_PACKET_CODE
=
255
;
*
pos
++=
ERROR_PACKET_CODE
;
*
pos
++=
ERROR_PACKET_CODE
;
int2store
(
pos
,
sql_errno
);
int2store
(
pos
,
sql_errno
);
pos
+=
2
;
pos
+=
2
;
...
@@ -195,7 +194,7 @@ int send_fields(struct st_net *net, LIST *fields)
...
@@ -195,7 +194,7 @@ int send_fields(struct st_net *net, LIST *fields)
int2store
(
send_buff
.
buffer
+
position
,
1
);
/* charsetnr */
int2store
(
send_buff
.
buffer
+
position
,
1
);
/* charsetnr */
int4store
(
send_buff
.
buffer
+
position
+
2
,
int4store
(
send_buff
.
buffer
+
position
+
2
,
field
->
length
);
/* field length */
field
->
length
);
/* field length */
send_buff
.
buffer
[
position
+
6
]
=
(
uint
)
FIELD_TYPE_STRING
;
/* type */
send_buff
.
buffer
[
position
+
6
]
=
(
char
)
FIELD_TYPE_STRING
;
/* type */
int2store
(
send_buff
.
buffer
+
position
+
7
,
0
);
/* flags */
int2store
(
send_buff
.
buffer
+
position
+
7
,
0
);
/* flags */
send_buff
.
buffer
[
position
+
9
]
=
(
char
)
0
;
/* decimals */
send_buff
.
buffer
[
position
+
9
]
=
(
char
)
0
;
/* decimals */
send_buff
.
buffer
[
position
+
10
]
=
0
;
send_buff
.
buffer
[
position
+
10
]
=
0
;
...
...
sql/log.cc
View file @
a1b609f0
...
@@ -1855,7 +1855,9 @@ bool MYSQL_LOG::write(THD *thd, IO_CACHE *cache, Log_event *commit_event)
...
@@ -1855,7 +1855,9 @@ bool MYSQL_LOG::write(THD *thd, IO_CACHE *cache, Log_event *commit_event)
if
(
commit_event
->
write
(
&
log_file
))
if
(
commit_event
->
write
(
&
log_file
))
goto
err
;
goto
err
;
#ifndef DBUG_OFF
DBUG_skip_commit:
DBUG_skip_commit:
#endif
if
(
flush_and_sync
())
if
(
flush_and_sync
())
goto
err
;
goto
err
;
DBUG_EXECUTE_IF
(
"half_binlogged_transaction"
,
abort
(););
DBUG_EXECUTE_IF
(
"half_binlogged_transaction"
,
abort
(););
...
...
sql/mysql_priv.h
View file @
a1b609f0
...
@@ -1154,12 +1154,13 @@ extern my_bool relay_log_purge, opt_innodb_safe_binlog, opt_innodb;
...
@@ -1154,12 +1154,13 @@ extern my_bool relay_log_purge, opt_innodb_safe_binlog, opt_innodb;
extern
uint
test_flags
,
select_errors
,
ha_open_options
;
extern
uint
test_flags
,
select_errors
,
ha_open_options
;
extern
uint
protocol_version
,
mysqld_port
,
dropping_tables
;
extern
uint
protocol_version
,
mysqld_port
,
dropping_tables
;
extern
uint
delay_key_write_options
,
lower_case_table_names
;
extern
uint
delay_key_write_options
,
lower_case_table_names
;
extern
bool
opt_endinfo
,
using_udf_functions
,
locked_in_memory
;
extern
bool
opt_endinfo
,
using_udf_functions
;
extern
my_bool
locked_in_memory
;
extern
bool
opt_using_transactions
,
mysqld_embedded
;
extern
bool
opt_using_transactions
,
mysqld_embedded
;
extern
bool
using_update_log
,
opt_large_files
,
server_id_supplied
;
extern
bool
using_update_log
,
opt_large_files
,
server_id_supplied
;
extern
bool
opt_log
,
opt_update_log
,
opt_bin_log
,
opt_slow_log
,
opt_error_log
;
extern
bool
opt_log
,
opt_update_log
,
opt_bin_log
,
opt_slow_log
,
opt_error_log
;
extern
bool
opt_disable_networking
,
opt_skip_show_db
;
extern
bool
opt_disable_networking
,
opt_skip_show_db
;
extern
bool
opt_character_set_client_handshake
;
extern
my_
bool
opt_character_set_client_handshake
;
extern
bool
volatile
abort_loop
,
shutdown_in_progress
,
grant_option
;
extern
bool
volatile
abort_loop
,
shutdown_in_progress
,
grant_option
;
extern
bool
mysql_proc_table_exists
;
extern
bool
mysql_proc_table_exists
;
extern
uint
volatile
thread_count
,
thread_running
,
global_read_lock
;
extern
uint
volatile
thread_count
,
thread_running
,
global_read_lock
;
...
...
sql/mysqld.cc
View file @
a1b609f0
...
@@ -294,7 +294,7 @@ bool opt_large_files= sizeof(my_off_t) > 4;
...
@@ -294,7 +294,7 @@ bool opt_large_files= sizeof(my_off_t) > 4;
/*
/*
Used with --help for detailed option
Used with --help for detailed option
*/
*/
static
bool
opt_help
=
0
,
opt_verbose
=
0
;
static
my_
bool
opt_help
=
0
,
opt_verbose
=
0
;
arg_cmp_func
Arg_comparator
::
comparator_matrix
[
5
][
2
]
=
arg_cmp_func
Arg_comparator
::
comparator_matrix
[
5
][
2
]
=
{{
&
Arg_comparator
::
compare_string
,
&
Arg_comparator
::
compare_e_string
},
{{
&
Arg_comparator
::
compare_string
,
&
Arg_comparator
::
compare_e_string
},
...
@@ -338,9 +338,10 @@ static my_bool opt_sync_bdb_logs;
...
@@ -338,9 +338,10 @@ static my_bool opt_sync_bdb_logs;
bool
opt_log
,
opt_update_log
,
opt_bin_log
,
opt_slow_log
;
bool
opt_log
,
opt_update_log
,
opt_bin_log
,
opt_slow_log
;
bool
opt_error_log
=
IF_WIN
(
1
,
0
);
bool
opt_error_log
=
IF_WIN
(
1
,
0
);
bool
opt_disable_networking
=
0
,
opt_skip_show_db
=
0
;
bool
opt_disable_networking
=
0
,
opt_skip_show_db
=
0
;
bool
opt_character_set_client_handshake
=
1
;
my_
bool
opt_character_set_client_handshake
=
1
;
bool
server_id_supplied
=
0
;
bool
server_id_supplied
=
0
;
bool
opt_endinfo
,
using_udf_functions
,
locked_in_memory
;
bool
opt_endinfo
,
using_udf_functions
;
my_bool
locked_in_memory
;
bool
opt_using_transactions
,
using_update_log
;
bool
opt_using_transactions
,
using_update_log
;
bool
volatile
abort_loop
;
bool
volatile
abort_loop
;
bool
volatile
shutdown_in_progress
,
grant_option
;
bool
volatile
shutdown_in_progress
,
grant_option
;
...
@@ -572,7 +573,7 @@ Query_cache query_cache;
...
@@ -572,7 +573,7 @@ Query_cache query_cache;
#endif
#endif
#ifdef HAVE_SMEM
#ifdef HAVE_SMEM
char
*
shared_memory_base_name
=
default_shared_memory_base_name
;
char
*
shared_memory_base_name
=
default_shared_memory_base_name
;
bool
opt_enable_shared_memory
;
my_
bool
opt_enable_shared_memory
;
HANDLE
smem_event_connect_request
=
0
;
HANDLE
smem_event_connect_request
=
0
;
#endif
#endif
...
...
sql/slave.cc
View file @
a1b609f0
...
@@ -40,7 +40,8 @@ HASH replicate_do_table, replicate_ignore_table;
...
@@ -40,7 +40,8 @@ HASH replicate_do_table, replicate_ignore_table;
DYNAMIC_ARRAY
replicate_wild_do_table
,
replicate_wild_ignore_table
;
DYNAMIC_ARRAY
replicate_wild_do_table
,
replicate_wild_ignore_table
;
bool
do_table_inited
=
0
,
ignore_table_inited
=
0
;
bool
do_table_inited
=
0
,
ignore_table_inited
=
0
;
bool
wild_do_table_inited
=
0
,
wild_ignore_table_inited
=
0
;
bool
wild_do_table_inited
=
0
,
wild_ignore_table_inited
=
0
;
bool
table_rules_on
=
0
,
replicate_same_server_id
;
bool
table_rules_on
=
0
;
my_bool
replicate_same_server_id
;
ulonglong
relay_log_space_limit
=
0
;
ulonglong
relay_log_space_limit
=
0
;
/*
/*
...
...
sql/slave.h
View file @
a1b609f0
...
@@ -581,7 +581,8 @@ extern HASH replicate_do_table, replicate_ignore_table;
...
@@ -581,7 +581,8 @@ extern HASH replicate_do_table, replicate_ignore_table;
extern
DYNAMIC_ARRAY
replicate_wild_do_table
,
replicate_wild_ignore_table
;
extern
DYNAMIC_ARRAY
replicate_wild_do_table
,
replicate_wild_ignore_table
;
extern
bool
do_table_inited
,
ignore_table_inited
,
extern
bool
do_table_inited
,
ignore_table_inited
,
wild_do_table_inited
,
wild_ignore_table_inited
;
wild_do_table_inited
,
wild_ignore_table_inited
;
extern
bool
table_rules_on
,
replicate_same_server_id
;
extern
bool
table_rules_on
;
extern
my_bool
replicate_same_server_id
;
extern
int
disconnect_slave_event_count
,
abort_slave_event_count
;
extern
int
disconnect_slave_event_count
,
abort_slave_event_count
;
...
...
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