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
b5a44aeb
Commit
b5a44aeb
authored
Jan 10, 2005
by
guilhem@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/mysql_src/mysql-4.1-clean
into mysql.com:/home/mysql_src/mysql-5.0-clean
parents
10f41d7c
b9926d71
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
1 deletion
+33
-1
Build-tools/Bootstrap
Build-tools/Bootstrap
+2
-1
mysql-test/r/rpl_many_optimize.result
mysql-test/r/rpl_many_optimize.result
+9
-0
mysql-test/t/rpl_many_optimize.test
mysql-test/t/rpl_many_optimize.test
+20
-0
sql/net_serv.cc
sql/net_serv.cc
+2
-0
No files found.
Build-tools/Bootstrap
View file @
b5a44aeb
...
...
@@ -38,7 +38,7 @@ $opt_dry_run= undef;
$opt_export_only
=
undef
;
$opt_help
=
$opt_verbose
=
0
;
$opt_log
=
undef
;
$opt_mail
=
"";
$opt_mail
=
"
build
\
@mysql
.com
";
$opt_pull
=
undef
;
$opt_revision
=
undef
;
$opt_suffix
=
"";
...
...
@@ -431,6 +431,7 @@ Options:
include a log file snippet, if logging is enabled)
Note that the \@-Sign needs to be quoted!
Example: --mail=user\\\@domain.com
Default: build\@mysql.com
-q, --quiet Be quiet
-p, --pull Update the source BK trees before building
-r, --revision=<rev> Export the tree as of revision <rev>
...
...
mysql-test/r/rpl_many_optimize.result
0 → 100644
View file @
b5a44aeb
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
create table t1 (a int not null auto_increment primary key, b int, key(b));
INSERT INTO t1 (a) VALUES (1),(2);
drop table t1;
mysql-test/t/rpl_many_optimize.test
0 → 100644
View file @
b5a44aeb
# Test for BUG#7658 "optimize crashes slave thread (1 in 1000)]"
source
include
/
master
-
slave
.
inc
;
create
table
t1
(
a
int
not
null
auto_increment
primary
key
,
b
int
,
key
(
b
));
INSERT
INTO
t1
(
a
)
VALUES
(
1
),(
2
);
# Now many OPTIMIZE to test if we crash (BUG#7658)
let
$
1
=
300
;
disable_query_log
;
disable_result_log
;
while
(
$
1
)
{
eval
OPTIMIZE
TABLE
t1
;
dec
$
1
;
}
enable_result_log
;
enable_query_log
;
drop
table
t1
;
# Bug was that slave segfaulted after ~ a hundred of OPTIMIZE (or ANALYZE)
sync_slave_with_master
;
sql/net_serv.cc
View file @
b5a44aeb
...
...
@@ -255,6 +255,8 @@ my_bool
my_net_write
(
NET
*
net
,
const
char
*
packet
,
ulong
len
)
{
uchar
buff
[
NET_HEADER_SIZE
];
if
(
unlikely
(
!
net
->
vio
))
// nowhere to write
return
0
;
/*
Big packets are handled by splitting them in packets of MAX_PACKET_LENGTH
length. The last packet is always a packet that is < MAX_PACKET_LENGTH.
...
...
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