mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Bug#32167 another privilege bypass with DATA/INDEX DIRECTORY
post push fix Updated partition_symlink since different error behavior if embedded (or not partitioned)
This commit is contained in:
@@ -113,9 +113,9 @@ set @@sql_mode=@org_mode;
|
||||
create table t1 (a int)
|
||||
partition by key (a)
|
||||
(partition p0 DATA DIRECTORY 'part-data' INDEX DIRECTORY 'part-data');
|
||||
ERROR HY000: Incorrect arguments to DATA DIRECTORY
|
||||
Got one of the listed errors
|
||||
create table t1 (a int)
|
||||
partition by key (a)
|
||||
(partition p0,
|
||||
partition p1 DATA DIRECTORY 'part-data' INDEX DIRECTORY 'part-data');
|
||||
ERROR HY000: Incorrect arguments to DATA DIRECTORY
|
||||
Got one of the listed errors
|
||||
|
||||
@@ -154,7 +154,8 @@ set @@sql_mode=@org_mode;
|
||||
#
|
||||
# Bug 21350: Data Directory problems
|
||||
#
|
||||
-- error ER_WRONG_ARGUMENTS
|
||||
# Added ER_WRONG_TABLE_NAME and reported bug#39045
|
||||
-- error ER_WRONG_ARGUMENTS, ER_WRONG_TABLE_NAME
|
||||
create table t1 (a int)
|
||||
partition by key (a)
|
||||
(partition p0 DATA DIRECTORY 'part-data' INDEX DIRECTORY 'part-data');
|
||||
@@ -163,7 +164,8 @@ partition by key (a)
|
||||
# Insert a test that manages to create the first partition and fails with
|
||||
# the second, ensure that we clean up afterwards in a proper manner.
|
||||
#
|
||||
--error ER_WRONG_ARGUMENTS
|
||||
# Added ER_WRONG_TABLE_NAME and reported bug#39045
|
||||
--error ER_WRONG_ARGUMENTS, ER_WRONG_TABLE_NAME
|
||||
create table t1 (a int)
|
||||
partition by key (a)
|
||||
(partition p0,
|
||||
|
||||
Reference in New Issue
Block a user