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
0966a189
Commit
0966a189
authored
Jan 11, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
parents
7355e7d5
45a4daa4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
.bzrignore
.bzrignore
+9
-0
sql/sql_tablespace.cc
sql/sql_tablespace.cc
+7
-1
No files found.
.bzrignore
View file @
0966a189
...
@@ -1661,3 +1661,12 @@ zlib/*.vcproj
...
@@ -1661,3 +1661,12 @@ zlib/*.vcproj
client/mysqlslap
client/mysqlslap
storage/archive/archive_test
storage/archive/archive_test
item_xmlfunc.cc
item_xmlfunc.cc
storage/ndb/test/ndbapi/DbAsyncGenerator
storage/ndb/test/ndbapi/DbCreate
storage/ndb/test/ndbapi/ndbapi_slow_select
storage/ndb/test/ndbapi/testBitfield
storage/ndb/test/ndbapi/testLcp
storage/ndb/test/ndbapi/testPartitioning
storage/ndb/test/ndbapi/testReadPerf
storage/ndb/test/ndbapi/test_event_merge
storage/ndb/test/tools/listen_event
sql/sql_tablespace.cc
View file @
0966a189
...
@@ -30,7 +30,8 @@ int mysql_alter_tablespace(THD *thd, st_alter_tablespace *ts_info)
...
@@ -30,7 +30,8 @@ int mysql_alter_tablespace(THD *thd, st_alter_tablespace *ts_info)
*/
*/
hton
=
ha_resolve_by_legacy_type
(
thd
,
ts_info
->
storage_engine
);
hton
=
ha_resolve_by_legacy_type
(
thd
,
ts_info
->
storage_engine
);
if
(
hton
->
alter_tablespace
&&
(
error
=
hton
->
alter_tablespace
(
thd
,
ts_info
)))
if
(
hton
->
state
==
SHOW_OPTION_YES
&&
hton
->
alter_tablespace
&&
(
error
=
hton
->
alter_tablespace
(
thd
,
ts_info
)))
{
{
if
(
error
==
HA_ADMIN_NOT_IMPLEMENTED
)
if
(
error
==
HA_ADMIN_NOT_IMPLEMENTED
)
{
{
...
@@ -46,5 +47,10 @@ int mysql_alter_tablespace(THD *thd, st_alter_tablespace *ts_info)
...
@@ -46,5 +47,10 @@ int mysql_alter_tablespace(THD *thd, st_alter_tablespace *ts_info)
}
}
DBUG_RETURN
(
error
);
DBUG_RETURN
(
error
);
}
}
if
(
mysql_bin_log
.
is_open
())
{
thd
->
binlog_query
(
THD
::
STMT_QUERY_TYPE
,
thd
->
query
,
thd
->
query_length
,
FALSE
,
TRUE
);
}
DBUG_RETURN
(
FALSE
);
DBUG_RETURN
(
FALSE
);
}
}
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