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
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
Show 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,
...
@@ -1307,7 +1307,7 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
new_table_name
,
0
);
new_table_name
,
0
);
quoted_table2
[
id_length
]
=
'\0'
;
quoted_table2
[
id_length
]
=
'\0'
;
query_length
=
(
uint
)
(
strxmov
(
tmp_buf2
,
"rename table "
,
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
);
quoted_db2
,
"."
,
quoted_table2
,
NullS
)
-
tmp_buf2
);
type_str
=
"rename table"
;
type_str
=
"rename table"
;
break
;
break
;
...
...
sql/log_event.cc
View file @
6d0574d3
...
@@ -4272,7 +4272,8 @@ void Load_log_event::print_query(bool need_db, const char *cs, char *buf,
...
@@ -4272,7 +4272,8 @@ void Load_log_event::print_query(bool need_db, const char *cs, char *buf,
#else
#else
quoted_id_len
=
my_strmov_quoted_identifier
((
char
*
)
quoted_id
,
db
);
quoted_id_len
=
my_strmov_quoted_identifier
((
char
*
)
quoted_id
,
db
);
#endif
#endif
pos
+=
quoted_id_len
;
quoted_id
[
quoted_id_len
]
=
'\0'
;
pos
=
strmov
(
pos
,
quoted_id
);
pos
=
strmov
(
pos
,
"; "
);
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