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
c750516a
Commit
c750516a
authored
Sep 23, 2012
by
Rohit Kalhans
Browse files
Options
Browse Files
Download
Plain Diff
bug#14548159: upmerge from mysql-5.1 -> mysql-5.5
parents
cbf16130
05caec52
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 @
c750516a
...
@@ -1335,7 +1335,7 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
...
@@ -1335,7 +1335,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 @
c750516a
...
@@ -4361,7 +4361,7 @@ uint Load_log_event::get_query_buffer_length()
...
@@ -4361,7 +4361,7 @@ uint Load_log_event::get_query_buffer_length()
void
Load_log_event
::
print_query
(
bool
need_db
,
const
char
*
cs
,
char
*
buf
,
void
Load_log_event
::
print_query
(
bool
need_db
,
const
char
*
cs
,
char
*
buf
,
char
**
end
,
char
**
fn_start
,
char
**
fn_end
)
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
;
int
quoted_id_len
=
0
;
char
*
pos
=
buf
;
char
*
pos
=
buf
;
...
@@ -4374,7 +4374,8 @@ void Load_log_event::print_query(bool need_db, const char *cs, char *buf,
...
@@ -4374,7 +4374,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