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
0237f036
Commit
0237f036
authored
Jun 16, 2006
by
mikael@c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for broken compile if not compiling with partitioning
parent
66d7d650
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sql/sql_table.cc
sql/sql_table.cc
+2
-0
No files found.
sql/sql_table.cc
View file @
0237f036
...
@@ -5009,6 +5009,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
...
@@ -5009,6 +5009,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
old_db_type
=
table
->
s
->
db_type
;
old_db_type
=
table
->
s
->
db_type
;
if
(
!
create_info
->
db_type
)
if
(
!
create_info
->
db_type
)
{
{
#ifdef WITH_PARTITION_STORAGE_ENGINE
if
(
table
->
part_info
&&
if
(
table
->
part_info
&&
create_info
->
used_fields
&
HA_CREATE_USED_ENGINE
)
create_info
->
used_fields
&
HA_CREATE_USED_ENGINE
)
{
{
...
@@ -5022,6 +5023,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
...
@@ -5022,6 +5023,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
create_info
->
db_type
=
table
->
part_info
->
default_engine_type
;
create_info
->
db_type
=
table
->
part_info
->
default_engine_type
;
}
}
else
else
#endif
create_info
->
db_type
=
old_db_type
;
create_info
->
db_type
=
old_db_type
;
}
}
...
...
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