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
2e006db4
Commit
2e006db4
authored
Jan 06, 2005
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge zim.(none):/home/brian/mysql/mysql-5.0
into zim.(none):/home/brian/mysql/mysql-5.1
parents
6c5b0844
75f282df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
sql/sql_parse.cc
sql/sql_parse.cc
+5
-4
No files found.
sql/sql_parse.cc
View file @
2e006db4
...
...
@@ -2564,7 +2564,7 @@ mysql_execute_command(THD *thd)
TABLE_LIST
*
select_tables
=
lex
->
query_tables
;
if
((
res
=
create_table_precheck
(
thd
,
select_tables
,
create_table
)))
goto
create_error
;
goto
unsent_
create_error
;
#ifndef HAVE_READLINK
lex
->
create_info
.
data_file_name
=
lex
->
create_info
.
index_file_name
=
0
;
...
...
@@ -2574,7 +2574,7 @@ mysql_execute_command(THD *thd)
create_table
->
table_name
)
||
append_file_to_dir
(
thd
,
&
lex
->
create_info
.
index_file_name
,
create_table
->
table_name
))
goto
create_error
;
goto
unsent_
create_error
;
#endif
/*
If we are using SET CHARSET without DEFAULT, add an implicit
...
...
@@ -2606,7 +2606,7 @@ mysql_execute_command(THD *thd)
unique_table
(
create_table
,
select_tables
))
{
my_error
(
ER_UPDATE_TABLE_USED
,
MYF
(
0
),
create_table
->
table_name
);
goto
create_error
;
goto
unsent_
create_error
;
}
/* If we create merge table, we have to test tables in merge, too */
if
(
lex
->
create_info
.
used_fields
&
HA_CREATE_USED_UNION
)
...
...
@@ -2619,7 +2619,7 @@ mysql_execute_command(THD *thd)
if
(
unique_table
(
tab
,
select_tables
))
{
my_error
(
ER_UPDATE_TABLE_USED
,
MYF
(
0
),
tab
->
table_name
);
goto
create_error
;
goto
unsent_
create_error
;
}
}
}
...
...
@@ -2666,6 +2666,7 @@ mysql_execute_command(THD *thd)
break
;
/* put tables back for PS rexecuting */
unsent_create_error:
lex
->
link_first_table_back
(
create_table
,
link_to_local
);
goto
error
;
}
...
...
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