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
4ae8af4a
Commit
4ae8af4a
authored
May 21, 2003
by
vva@eagle.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed "LINES STARTING" in load data replication
parent
e96c75fe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/log_event.cc
sql/log_event.cc
+5
-1
No files found.
BitKeeper/etc/logging_ok
View file @
4ae8af4a
...
@@ -35,5 +35,6 @@ serg@build.mysql2.com
...
@@ -35,5 +35,6 @@ serg@build.mysql2.com
serg@serg.mysql.com
serg@serg.mysql.com
serg@sergbook.mysql.com
serg@sergbook.mysql.com
sinisa@rhols221.adsl.netsonic.fi
sinisa@rhols221.adsl.netsonic.fi
vva@eagle.mysql.r18.ru
walrus@mysql.com
walrus@mysql.com
zak@balfor.local
zak@balfor.local
sql/log_event.cc
View file @
4ae8af4a
...
@@ -697,15 +697,19 @@ void Load_log_event::print(FILE* file, bool short_form, char* last_db)
...
@@ -697,15 +697,19 @@ void Load_log_event::print(FILE* file, bool short_form, char* last_db)
pretty_print_char
(
file
,
sql_ex
.
escaped
);
pretty_print_char
(
file
,
sql_ex
.
escaped
);
}
}
bool
line_lexem_added
=
false
;
if
(
!
(
sql_ex
.
empty_flags
&
LINE_TERM_EMPTY
))
if
(
!
(
sql_ex
.
empty_flags
&
LINE_TERM_EMPTY
))
{
{
fprintf
(
file
,
" LINES TERMINATED BY "
);
fprintf
(
file
,
" LINES TERMINATED BY "
);
pretty_print_char
(
file
,
sql_ex
.
line_term
);
pretty_print_char
(
file
,
sql_ex
.
line_term
);
line_lexem_added
=
true
;
}
}
if
(
!
(
sql_ex
.
empty_flags
&
LINE_START_EMPTY
))
if
(
!
(
sql_ex
.
empty_flags
&
LINE_START_EMPTY
))
{
{
fprintf
(
file
,
" LINES STARTING BY "
);
if
(
!
line_lexem_added
)
fprintf
(
file
,
" LINES"
);
fprintf
(
file
,
" STARTING BY "
);
pretty_print_char
(
file
,
sql_ex
.
line_start
);
pretty_print_char
(
file
,
sql_ex
.
line_start
);
}
}
...
...
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