diff options
author | unknown <andrey@lmy004.> | 2006-01-11 12:01:36 +0100 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2006-01-11 12:01:36 +0100 |
commit | 0d732a1470dc443c636493f2b6d4db269b250241 (patch) | |
tree | bdae416c995fa909938346e38c2f7252848f05d3 /sql/sql_parse.cc | |
parent | 923b97736fa461c67f49491bf872c1417e7d2a7f (diff) | |
parent | 641ce5e97e64fc89e497ee903bca03bef9476665 (diff) | |
download | mariadb-git-0d732a1470dc443c636493f2b6d4db269b250241.tar.gz |
manual merge
sql/Makefile.am:
Auto merged
sql/lex.h:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 3302a30b558..cb115adaffb 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -4877,6 +4877,12 @@ end_with_restore_list: case SQLCOM_XA_RECOVER: res= mysql_xa_recover(thd); break; + case SQLCOM_ALTER_TABLESPACE: + if (check_access(thd, ALTER_ACL, thd->db, 0, 1, 0, thd->db ? is_schema_db(thd->db) : 0)) + break; + if (!(res= mysql_alter_tablespace(thd, lex->alter_tablespace_info))) + send_ok(thd); + break; case SQLCOM_INSTALL_PLUGIN: if (! (res= mysql_install_plugin(thd, &thd->lex->comment, &thd->lex->ident))) |