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
4e63fb98
Commit
4e63fb98
authored
Oct 20, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes
parent
e1218474
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
libmysql/libmysql.c
libmysql/libmysql.c
+2
-2
mysql-test/r/rpl_commit_after_flush.result
mysql-test/r/rpl_commit_after_flush.result
+3
-3
mysql-test/t/rpl_commit_after_flush.test
mysql-test/t/rpl_commit_after_flush.test
+1
-1
No files found.
libmysql/libmysql.c
View file @
4e63fb98
...
@@ -1570,8 +1570,8 @@ ulong mysql_hex_string(char *to, const char *from, ulong length)
...
@@ -1570,8 +1570,8 @@ ulong mysql_hex_string(char *to, const char *from, ulong length)
for
(
end
=
from
+
length
;
from
<
end
;
from
++
)
for
(
end
=
from
+
length
;
from
<
end
;
from
++
)
{
{
*
to
++=
_dig_vec
[((
unsigned
char
)
*
from
)
>>
4
];
*
to
++=
_dig_vec
_upper
[((
unsigned
char
)
*
from
)
>>
4
];
*
to
++=
_dig_vec
[((
unsigned
char
)
*
from
)
&
0x0F
];
*
to
++=
_dig_vec
_upper
[((
unsigned
char
)
*
from
)
&
0x0F
];
}
}
*
to
=
'\0'
;
*
to
=
'\0'
;
return
(
ulong
)
(
to
-
to0
);
return
(
ulong
)
(
to
-
to0
);
...
...
mysql-test/r/rpl_commit_after_flush.result
View file @
4e63fb98
s
lave stop
;
s
top slave
;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset master;
reset slave;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
s
lave start
;
s
tart slave
;
create table t1 (a int)
typ
e=innodb;
create table t1 (a int)
engin
e=innodb;
begin;
begin;
insert into t1 values(1);
insert into t1 values(1);
flush tables with read lock;
flush tables with read lock;
...
...
mysql-test/t/rpl_commit_after_flush.test
View file @
4e63fb98
source
include
/
master
-
slave
.
inc
;
source
include
/
master
-
slave
.
inc
;
source
include
/
have_innodb
.
inc
;
source
include
/
have_innodb
.
inc
;
create
table
t1
(
a
int
)
typ
e
=
innodb
;
create
table
t1
(
a
int
)
engin
e
=
innodb
;
begin
;
begin
;
insert
into
t1
values
(
1
);
insert
into
t1
values
(
1
);
flush
tables
with
read
lock
;
flush
tables
with
read
lock
;
...
...
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