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
32c9fe6b
Commit
32c9fe6b
authored
Nov 03, 2008
by
Mats Kindahl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #40360: Binlog related errors with binlog off
Adding missing drop of created table and tidying display.
parent
005e7fc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
mysql-test/r/innodb_mysql.result
mysql-test/r/innodb_mysql.result
+5
-9
mysql-test/t/innodb_mysql.test
mysql-test/t/innodb_mysql.test
+2
-3
No files found.
mysql-test/r/innodb_mysql.result
View file @
32c9fe6b
...
@@ -1670,14 +1670,10 @@ id select_type table type possible_keys key key_len ref rows Extra
...
@@ -1670,14 +1670,10 @@ id select_type table type possible_keys key key_len ref rows Extra
drop table t1, t2;
drop table t1, t2;
SET SESSION BINLOG_FORMAT=STATEMENT;
SET SESSION BINLOG_FORMAT=STATEMENT;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
SHOW VARIABLES LIKE 'log_bin';
select @@session.sql_log_bin, @@session.binlog_format, @@session.tx_isolation;
Variable_name Value
@@session.sql_log_bin 1
log_bin OFF
@@session.binlog_format STATEMENT
SELECT @@session.binlog_format;
@@session.tx_isolation READ-COMMITTED
@@session.binlog_format
STATEMENT
SELECT @@session.tx_isolation;
@@session.tx_isolation
READ-COMMITTED
CREATE TABLE t1 ( a INT ) ENGINE=InnoDB;
CREATE TABLE t1 ( a INT ) ENGINE=InnoDB;
INSERT INTO t1 VALUES(1);
INSERT INTO t1 VALUES(1);
DROP TABLE t1;
mysql-test/t/innodb_mysql.test
View file @
32c9fe6b
...
@@ -38,9 +38,8 @@ drop table t1, t2;
...
@@ -38,9 +38,8 @@ drop table t1, t2;
SET
SESSION
BINLOG_FORMAT
=
STATEMENT
;
SET
SESSION
BINLOG_FORMAT
=
STATEMENT
;
SET
SESSION
TRANSACTION
ISOLATION
LEVEL
READ
COMMITTED
;
SET
SESSION
TRANSACTION
ISOLATION
LEVEL
READ
COMMITTED
;
SHOW
VARIABLES
LIKE
'log_bin'
;
query_vertical
select
@@
session
.
sql_log_bin
,
@@
session
.
binlog_format
,
@@
session
.
tx_isolation
;
SELECT
@@
session
.
binlog_format
;
SELECT
@@
session
.
tx_isolation
;
CREATE
TABLE
t1
(
a
INT
)
ENGINE
=
InnoDB
;
CREATE
TABLE
t1
(
a
INT
)
ENGINE
=
InnoDB
;
INSERT
INTO
t1
VALUES
(
1
);
INSERT
INTO
t1
VALUES
(
1
);
DROP
TABLE
t1
;
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