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
7b361c83
Commit
7b361c83
authored
Aug 02, 2006
by
evgen@sunlight.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_view.cc:
After merge fix
parent
d4f92cbb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_view.cc
sql/sql_view.cc
+2
-2
No files found.
sql/sql_view.cc
View file @
7b361c83
...
@@ -1304,11 +1304,11 @@ bool mysql_drop_view(THD *thd, TABLE_LIST *views, enum_drop_mode drop_mode)
...
@@ -1304,11 +1304,11 @@ bool mysql_drop_view(THD *thd, TABLE_LIST *views, enum_drop_mode drop_mode)
for
(
view
=
views
;
view
;
view
=
view
->
next_local
)
for
(
view
=
views
;
view
;
view
=
view
->
next_local
)
{
{
TABLE_SHARE
*
share
;
TABLE_SHARE
*
share
;
bool
type
=
0
;
frm_type_enum
type
=
FRMTYPE_ERROR
;
build_table_filename
(
path
,
sizeof
(
path
),
build_table_filename
(
path
,
sizeof
(
path
),
view
->
db
,
view
->
table_name
,
reg_ext
);
view
->
db
,
view
->
table_name
,
reg_ext
);
VOID
(
pthread_mutex_lock
(
&
LOCK_open
));
VOID
(
pthread_mutex_lock
(
&
LOCK_open
));
type
=
FRMTYPE_ERROR
;
if
(
access
(
path
,
F_OK
)
||
if
(
access
(
path
,
F_OK
)
||
FRMTYPE_VIEW
!=
(
type
=
mysql_frm_type
(
thd
,
path
,
&
not_used
)))
FRMTYPE_VIEW
!=
(
type
=
mysql_frm_type
(
thd
,
path
,
&
not_used
)))
{
{
...
...
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