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
78a0585c
Commit
78a0585c
authored
Aug 26, 2005
by
serg@sergbook.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fix
parent
d591705e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/sql_db.cc
sql/sql_db.cc
+1
-1
No files found.
sql/sql_db.cc
View file @
78a0585c
...
@@ -711,7 +711,7 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
...
@@ -711,7 +711,7 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
uint
tbl_name_len
;
uint
tbl_name_len
;
/* 3 for the quotes and the comma*/
/* 3 for the quotes and the comma*/
tbl_name_len
=
strlen
(
tbl
->
real
_name
)
+
3
;
tbl_name_len
=
strlen
(
tbl
->
table
_name
)
+
3
;
if
(
query_pos
+
tbl_name_len
+
1
>=
query_end
)
if
(
query_pos
+
tbl_name_len
+
1
>=
query_end
)
{
{
write_to_binlog
(
thd
,
query
,
query_pos
-
1
-
query
,
db
,
db_len
);
write_to_binlog
(
thd
,
query
,
query_pos
-
1
-
query
,
db
,
db_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