summaryrefslogtreecommitdiff
path: root/sql/share
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-04-04 14:01:47 +0500
committerunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-04-04 14:01:47 +0500
commit93e11dce942e8aec8501982fe3e664a9d4abd471 (patch)
treeed0d8599026a089115032c4a19d06c1789df15cd /sql/share
parentc242662096e1ce16b249c478702be54c190d3f5e (diff)
downloadmariadb-git-93e11dce942e8aec8501982fe3e664a9d4abd471.tar.gz
Bug #23675 Partitions: possible security breach via alter
now we return different error message if user doesn't have SELECT grants mysql-test/r/partition_grant.result: test result mysql-test/t/partition_grant.test: testcase sql/mysql_priv.h: no_errors parameter added to check_single_table_access() sql/partition_info.cc: access rights control added to the print_no_partition() sql/share/errmsg.txt: message added sql/sql_base.cc: no_errors parameter added to check_single_table_access() sql/sql_parse.cc: no_errors parameter added to check_single_table_access()
Diffstat (limited to 'sql/share')
-rw-r--r--sql/share/errmsg.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/share/errmsg.txt b/sql/share/errmsg.txt
index 1d9c7c814fd..38b27b0b5df 100644
--- a/sql/share/errmsg.txt
+++ b/sql/share/errmsg.txt
@@ -6053,3 +6053,5 @@ ER_DUP_ENTRY_WITH_KEY_NAME 23000 S1009
ER_BINLOG_PURGE_EMFILE
eng "Too many files opened, please execute the command again"
ger "Zu viele offene Dateien, bitte führen Sie den Befehl noch einmal aus"
+ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT
+ eng "Table has no partition for some existing values"