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
f55e2002
Commit
f55e2002
authored
Feb 22, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings
Fixed failing myisam.test and rpl_rotate_logs.test on some configurations
parent
e7cfb0f6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
9 deletions
+12
-9
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+2
-2
mysql-test/r/rpl_rotate_logs.result
mysql-test/r/rpl_rotate_logs.result
+2
-2
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+2
-2
mysql-test/t/rpl_rotate_logs.test
mysql-test/t/rpl_rotate_logs.test
+3
-0
sql/ha_innodb.cc
sql/ha_innodb.cc
+3
-3
No files found.
mysql-test/r/myisam.result
View file @
f55e2002
...
...
@@ -1156,9 +1156,9 @@ Warnings:
Error 2 Can't find file: 't1' (errno: 2)
create table t1 (a int) engine=myisam;
drop table t1;
ERROR 42S02: Unknown table 't1'
Got one of the listed errors
create table t1 (a int) engine=myisam;
drop table t1;
ERROR HY000: File './test/t1.MYD' not found (Errcode: 2)
Got one of the listed errors
drop table t1;
ERROR 42S02: Unknown table 't1'
mysql-test/r/rpl_rotate_logs.result
View file @
f55e2002
...
...
@@ -100,7 +100,7 @@ commit;
drop table t1;
show binlog events in 'master-bin.000001';
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 4 Format_desc 1 96 Server ver:
5.0.3-alpha-debug-log
, Binlog ver: 4
master-bin.000001 4 Format_desc 1 96 Server ver:
VERSION
, Binlog ver: 4
master-bin.000001 96 Query 1 197 use `test`; create table t1 (n int) engine=innodb
master-bin.000001 197 Query 1 266 use `test`; BEGIN
master-bin.000001 266 Query 1 94 use `test`; insert into t1 values(100 + 4)
...
...
@@ -207,5 +207,5 @@ master-bin.000001 9558 Xid 1 9319 COMMIT /* xid=146 */
master-bin.000001 9585 Rotate 1 9629 master-bin.000002;pos=4
show binlog events in 'master-bin.000002';
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000002 4 Format_desc 1 96 Server ver:
5.0.3-alpha-debug-log
, Binlog ver: 4
master-bin.000002 4 Format_desc 1 96 Server ver:
VERSION
, Binlog ver: 4
master-bin.000002 96 Query 1 173 use `test`; drop table t1
mysql-test/t/myisam.test
View file @
f55e2002
...
...
@@ -548,11 +548,11 @@ system rm ./var/master-data/test/t1.MYI ;
drop
table
if
exists
t1
;
create
table
t1
(
a
int
)
engine
=
myisam
;
system
rm
./
var
/
master
-
data
/
test
/
t1
.
MYI
;
--
error
1051
--
error
1051
,
6
drop
table
t1
;
create
table
t1
(
a
int
)
engine
=
myisam
;
system
rm
./
var
/
master
-
data
/
test
/
t1
.
MYD
;
--
error
1105
--
error
1105
,
6
drop
table
t1
;
--
error
1051
drop
table
t1
;
mysql-test/t/rpl_rotate_logs.test
View file @
f55e2002
...
...
@@ -174,6 +174,9 @@ while ($1)
--
enable_query_log
commit
;
drop
table
t1
;
let
$VERSION
=
`select version()`
;
--
replace_result
$VERSION
VERSION
show
binlog
events
in
'master-bin.000001'
;
--
replace_result
$VERSION
VERSION
show
binlog
events
in
'master-bin.000002'
;
sql/ha_innodb.cc
View file @
f55e2002
...
...
@@ -1698,7 +1698,7 @@ innobase_rollback_to_savepoint(
innobase_release_stat_resources
(
trx
);
/* TODO: use provided savepoint data area to store savepoint data */
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
savepoint
);
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
(
ulong
)
savepoint
);
error
=
trx_rollback_to_savepoint_for_mysql
(
trx
,
name
,
&
mysql_binlog_cache_pos
);
DBUG_RETURN
(
convert_error_code_to_mysql
(
error
,
NULL
));
...
...
@@ -1724,7 +1724,7 @@ innobase_release_savepoint(
trx
=
check_trx_exists
(
thd
);
/* TODO: use provided savepoint data area to store savepoint data */
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
savepoint
);
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
(
ulong
)
savepoint
);
error
=
trx_release_savepoint_for_mysql
(
trx
,
name
);
DBUG_RETURN
(
convert_error_code_to_mysql
(
error
,
NULL
));
...
...
@@ -1763,7 +1763,7 @@ innobase_savepoint(
DBUG_ASSERT
(
trx
->
active_trans
);
/* TODO: use provided savepoint data area to store savepoint data */
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
savepoint
);
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
(
ulong
)
savepoint
);
error
=
trx_savepoint_for_mysql
(
trx
,
name
,
(
ib_longlong
)
0
);
DBUG_RETURN
(
convert_error_code_to_mysql
(
error
,
NULL
));
...
...
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