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
aa4bf1cd
Commit
aa4bf1cd
authored
Apr 03, 2003
by
monty@narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fix
parent
e5cbaeb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
sql/log_event.cc
sql/log_event.cc
+9
-10
No files found.
sql/log_event.cc
View file @
aa4bf1cd
...
@@ -1146,9 +1146,9 @@ Load_log_event::Load_log_event(THD* thd_arg, sql_exchange* ex,
...
@@ -1146,9 +1146,9 @@ Load_log_event::Load_log_event(THD* thd_arg, sql_exchange* ex,
sql_ex
.
cached_new_format
=
-
1
;
sql_ex
.
cached_new_format
=
-
1
;
if
(
ex
->
dumpfile
)
if
(
ex
->
dumpfile
)
sql_ex
.
opt_flags
|=
DUMPFILE_FLAG
;
sql_ex
.
opt_flags
|=
DUMPFILE_FLAG
;
if
(
ex
->
opt_enclosed
)
if
(
ex
->
opt_enclosed
)
sql_ex
.
opt_flags
|=
OPT_ENCLOSED_FLAG
;
sql_ex
.
opt_flags
|=
OPT_ENCLOSED_FLAG
;
sql_ex
.
empty_flags
=
0
;
sql_ex
.
empty_flags
=
0
;
...
@@ -1159,15 +1159,15 @@ Load_log_event::Load_log_event(THD* thd_arg, sql_exchange* ex,
...
@@ -1159,15 +1159,15 @@ Load_log_event::Load_log_event(THD* thd_arg, sql_exchange* ex,
}
}
if
(
!
ex
->
field_term
->
length
())
if
(
!
ex
->
field_term
->
length
())
sql_ex
.
empty_flags
|=
FIELD_TERM_EMPTY
;
sql_ex
.
empty_flags
|=
FIELD_TERM_EMPTY
;
if
(
!
ex
->
enclosed
->
length
())
if
(
!
ex
->
enclosed
->
length
())
sql_ex
.
empty_flags
|=
ENCLOSED_EMPTY
;
sql_ex
.
empty_flags
|=
ENCLOSED_EMPTY
;
if
(
!
ex
->
line_term
->
length
())
if
(
!
ex
->
line_term
->
length
())
sql_ex
.
empty_flags
|=
LINE_TERM_EMPTY
;
sql_ex
.
empty_flags
|=
LINE_TERM_EMPTY
;
if
(
!
ex
->
line_start
->
length
())
if
(
!
ex
->
line_start
->
length
())
sql_ex
.
empty_flags
|=
LINE_START_EMPTY
;
sql_ex
.
empty_flags
|=
LINE_START_EMPTY
;
if
(
!
ex
->
escaped
->
length
())
if
(
!
ex
->
escaped
->
length
())
sql_ex
.
empty_flags
|=
ESCAPED_EMPTY
;
sql_ex
.
empty_flags
|=
ESCAPED_EMPTY
;
skip_lines
=
ex
->
skip_lines
;
skip_lines
=
ex
->
skip_lines
;
...
@@ -1860,9 +1860,8 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli,
...
@@ -1860,9 +1860,8 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli,
char
llbuff
[
22
];
char
llbuff
[
22
];
enum
enum_duplicates
handle_dup
=
DUP_IGNORE
;
enum
enum_duplicates
handle_dup
=
DUP_IGNORE
;
if
(
sql_ex
.
opt_flags
&
REPLACE_FLAG
)
if
(
sql_ex
.
opt_flags
&
REPLACE_FLAG
)
handle_dup
=
DUP_REPLACE
;
handle_dup
=
DUP_REPLACE
;
sql_exchange
ex
((
char
*
)
fname
,
sql_ex
.
opt_flags
&&
sql_exchange
ex
((
char
*
)
fname
,
sql_ex
.
opt_flags
&
DUMPFILE_FLAG
);
DUMPFILE_FLAG
);
String
field_term
(
sql_ex
.
field_term
,
sql_ex
.
field_term_len
);
String
field_term
(
sql_ex
.
field_term
,
sql_ex
.
field_term_len
);
String
enclosed
(
sql_ex
.
enclosed
,
sql_ex
.
enclosed_len
);
String
enclosed
(
sql_ex
.
enclosed
,
sql_ex
.
enclosed_len
);
String
line_term
(
sql_ex
.
line_term
,
sql_ex
.
line_term_len
);
String
line_term
(
sql_ex
.
line_term
,
sql_ex
.
line_term_len
);
...
...
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