summaryrefslogtreecommitdiff
path: root/sql/share
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-01-13 18:30:13 +0200
committerMonty <monty@mariadb.org>2020-03-24 21:00:02 +0200
commit4ef437558ae8a278f24726276bec57141db086da (patch)
treed625704ca7a8fae4bc8f240b8daf7d2d3642d39b /sql/share
parent736998cb75ba1d7bf8969329d649d9d1337353ff (diff)
downloadmariadb-git-4ef437558ae8a278f24726276bec57141db086da.tar.gz
Improve update handler (long unique keys on blobs)
MDEV-21606 Improve update handler (long unique keys on blobs) MDEV-21470 MyISAM and Aria start_bulk_insert doesn't work with long unique MDEV-21606 Bug fix for previous version of this code MDEV-21819 2 Assertion `inited == NONE || update_handler != this' - Move update_handler from TABLE to handler - Move out initialization of update handler from ha_write_row() to prepare_for_insert() - Fixed that INSERT DELAYED works with update handler - Give an error if using long unique with an autoincrement column - Added handler function to check if table has long unique hash indexes - Disable write cache in MyISAM and Aria when using update_handler as if cache is used, the row will not be inserted until end of statement and update_handler would not find conflicting rows. - Removed not used handler argument from check_duplicate_long_entries_update() - Syntax cleanups - Indentation fixes - Don't use single character indentifiers for arguments
Diffstat (limited to 'sql/share')
-rw-r--r--sql/share/errmsg-utf8.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt
index 2ff60a98c2b..d406c72d33c 100644
--- a/sql/share/errmsg-utf8.txt
+++ b/sql/share/errmsg-utf8.txt
@@ -7957,3 +7957,5 @@ ER_SLAVE_IGNORED_SHARED_TABLE
por "Slave SQL thread ignorado a consulta devido '%s'"
spa "Slave SQL thread ignorado el query '%s'"
swe "Slav SQL tråden ignorerade '%s' pga tabellen är delad"
+ER_NO_AUTOINCREMENT_WITH_UNIQUE
+ eng "AUTO_INCREMENT column %`s cannot be used in the UNIQUE index %`s"