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
6d0574d3
Commit
6d0574d3
authored
Sep 23, 2012
by
Rohit Kalhans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#14548159: Followup patch to fix some issues on PB2
parent
5f003eca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+1
-1
sql/log_event.cc
sql/log_event.cc
+3
-2
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
6d0574d3
...
...
@@ -1307,7 +1307,7 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
new_table_name
,
0
);
quoted_table2
[
id_length
]
=
'\0'
;
query_length
=
(
uint
)
(
strxmov
(
tmp_buf2
,
"rename table "
,
quoted_db1
,
"."
,
quoted_table
_
1
,
" to "
,
quoted_db1
,
"."
,
quoted_table1
,
" to "
,
quoted_db2
,
"."
,
quoted_table2
,
NullS
)
-
tmp_buf2
);
type_str
=
"rename table"
;
break
;
...
...
sql/log_event.cc
View file @
6d0574d3
...
...
@@ -4259,7 +4259,7 @@ uint Load_log_event::get_query_buffer_length()
void
Load_log_event
::
print_query
(
bool
need_db
,
const
char
*
cs
,
char
*
buf
,
char
**
end
,
char
**
fn_start
,
char
**
fn_end
)
{
char
quoted_id
[
1
+
NAME_LEN
*
2
+
2
];
//quoted length
char
quoted_id
[
1
+
NAME_LEN
*
2
+
2
];
//quoted length
int
quoted_id_len
=
0
;
char
*
pos
=
buf
;
...
...
@@ -4272,7 +4272,8 @@ void Load_log_event::print_query(bool need_db, const char *cs, char *buf,
#else
quoted_id_len
=
my_strmov_quoted_identifier
((
char
*
)
quoted_id
,
db
);
#endif
pos
+=
quoted_id_len
;
quoted_id
[
quoted_id_len
]
=
'\0'
;
pos
=
strmov
(
pos
,
quoted_id
);
pos
=
strmov
(
pos
,
"; "
);
}
...
...
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