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
cdb7e592
Commit
cdb7e592
authored
May 10, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge marko@build.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/marko/j/mysql-4.0
parents
f28616c0
d48d5681
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+3
-2
No files found.
innobase/row/row0mysql.c
View file @
cdb7e592
...
...
@@ -2208,10 +2208,11 @@ row_drop_database_for_mysql(
dict_table_t
*
table
;
char
*
table_name
;
int
err
=
DB_SUCCESS
;
ulint
namelen
=
strlen
(
name
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
ut_a
(
name
!=
NULL
);
ut_a
(
name
[
strlen
(
name
)
-
1
]
==
'/'
);
ut_a
(
name
[
namelen
-
1
]
==
'/'
);
trx
->
op_info
=
(
char
*
)
"dropping database"
;
...
...
@@ -2220,7 +2221,7 @@ loop:
row_mysql_lock_data_dictionary
(
trx
);
while
((
table_name
=
dict_get_first_table_name_in_db
(
name
)))
{
ut_a
(
strcmp
(
table_name
,
name
)
==
0
);
ut_a
(
memcmp
(
table_name
,
name
,
namelen
)
==
0
);
table
=
dict_table_get_low
(
table_name
);
...
...
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