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
dee5eae6
Commit
dee5eae6
authored
Apr 22, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-5.1-merge
parents
88722796
50b0fd88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
sql/sql_partition.cc
sql/sql_partition.cc
+4
-0
sql/sql_table.cc
sql/sql_table.cc
+1
-1
No files found.
sql/sql_partition.cc
View file @
dee5eae6
...
@@ -4532,6 +4532,7 @@ the generated partition syntax in a correct manner.
...
@@ -4532,6 +4532,7 @@ the generated partition syntax in a correct manner.
/*
/*
Make sure change of engine happens to all partitions.
Make sure change of engine happens to all partitions.
*/
*/
DBUG_PRINT
(
"info"
,
(
"partition changed"
));
set_engine_all_partitions
(
thd
->
work_part_info
,
create_info
->
db_type
);
set_engine_all_partitions
(
thd
->
work_part_info
,
create_info
->
db_type
);
*
partition_changed
=
TRUE
;
*
partition_changed
=
TRUE
;
}
}
...
@@ -4546,7 +4547,10 @@ the generated partition syntax in a correct manner.
...
@@ -4546,7 +4547,10 @@ the generated partition syntax in a correct manner.
using the partition handler.
using the partition handler.
*/
*/
if
(
thd
->
work_part_info
!=
table
->
part_info
)
if
(
thd
->
work_part_info
!=
table
->
part_info
)
{
DBUG_PRINT
(
"info"
,
(
"partition changed"
));
*
partition_changed
=
TRUE
;
*
partition_changed
=
TRUE
;
}
if
(
create_info
->
db_type
==
&
partition_hton
)
if
(
create_info
->
db_type
==
&
partition_hton
)
part_info
->
default_engine_type
=
table
->
part_info
->
default_engine_type
;
part_info
->
default_engine_type
=
table
->
part_info
->
default_engine_type
;
else
else
...
...
sql/sql_table.cc
View file @
dee5eae6
...
@@ -5990,7 +5990,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
...
@@ -5990,7 +5990,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
VOID
(
pthread_mutex_lock
(
&
LOCK_open
));
VOID
(
pthread_mutex_lock
(
&
LOCK_open
));
}
}
/* Tell the handler that a new frm file is in place. */
/* Tell the handler that a new frm file is in place. */
if
(
table
->
file
->
create_handler_files
(
reg_
path
,
NULL
,
CHF_INDEX_FLAG
,
if
(
table
->
file
->
create_handler_files
(
path
,
NULL
,
CHF_INDEX_FLAG
,
create_info
))
create_info
))
{
{
VOID
(
pthread_mutex_unlock
(
&
LOCK_open
));
VOID
(
pthread_mutex_unlock
(
&
LOCK_open
));
...
...
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