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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
374a6fd2
Commit
374a6fd2
authored
Jul 30, 2010
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
Automerge mysql-5.1-bugteam into mysql-5.1-bugteam latest.
parents
ada723b0
2a996946
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
33 deletions
+0
-33
mysql-test/suite/binlog/r/binlog_mixed_load_data.result
mysql-test/suite/binlog/r/binlog_mixed_load_data.result
+0
-10
mysql-test/suite/binlog/t/binlog_mixed_load_data.test
mysql-test/suite/binlog/t/binlog_mixed_load_data.test
+0
-15
sql/sql_load.cc
sql/sql_load.cc
+0
-8
No files found.
mysql-test/suite/binlog/r/binlog_mixed_load_data.result
deleted
100644 → 0
View file @
ada723b0
RESET MASTER;
CREATE TABLE t1 (word CHAR(20) NOT NULL) ENGINE=MYISAM;
LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1;
show binlog events from <binlog_start>;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # BEGIN
master-bin.000001 # Table_map # # table_id: # (test.t1)
master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # COMMIT
DROP TABLE t1;
mysql-test/suite/binlog/t/binlog_mixed_load_data.test
deleted
100644 → 0
View file @
ada723b0
#
# Bug #34283 mysqlbinlog leaves tmpfile after termination
# if binlog contains load data infile, so in mixed mode we
# go to row-based for avoiding the problem.
#
--
source
include
/
have_binlog_format_mixed
.
inc
--
source
include
/
have_log_bin
.
inc
RESET
MASTER
;
CREATE
TABLE
t1
(
word
CHAR
(
20
)
NOT
NULL
)
ENGINE
=
MYISAM
;
let
$binlog_start
=
query_get_value
(
SHOW
MASTER
STATUS
,
Position
,
1
);
LOAD
DATA
INFILE
'../../std_data/words.dat'
INTO
TABLE
t1
;
--
source
include
/
show_binlog_events
.
inc
DROP
TABLE
t1
;
sql/sql_load.cc
View file @
374a6fd2
...
...
@@ -141,14 +141,6 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
bool
transactional_table
;
DBUG_ENTER
(
"mysql_load"
);
/*
Bug #34283
mysqlbinlog leaves tmpfile after termination if binlog contains
load data infile, so in mixed mode we go to row-based for
avoiding the problem.
*/
thd
->
set_current_stmt_binlog_row_based_if_mixed
();
#ifdef EMBEDDED_LIBRARY
read_file_from_client
=
0
;
//server is always in the same process
#endif
...
...
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