summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2021-02-16 14:56:59 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2021-02-16 14:56:59 +0100
commite0072fadcb00edae74e748aee3148075b9cddae2 (patch)
tree625d5c0869cfbb322a2b4cdaab453e17fd5d31bf /plugin
parent1146e98b3af3e2b15df0598a860f4571663a98d0 (diff)
parentae7989ca2059869f81c837509e5ff554f7f63562 (diff)
downloadmariadb-git-10.6-halfmerge.tar.gz
Merge branch 'bb-10.5-release' into bb-10.6-release10.6-halfmerge
Diffstat (limited to 'plugin')
-rw-r--r--plugin/feedback/sender_thread.cc2
-rw-r--r--plugin/type_inet/mysql-test/type_inet/type_inet6_partition.result2
-rw-r--r--plugin/type_inet/mysql-test/type_inet/type_inet6_partition.test2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugin/feedback/sender_thread.cc b/plugin/feedback/sender_thread.cc
index 19b68b70650..73b1bc67e79 100644
--- a/plugin/feedback/sender_thread.cc
+++ b/plugin/feedback/sender_thread.cc
@@ -47,7 +47,7 @@ static int table_to_string(TABLE *table, String *result)
res= table->file->ha_rnd_init(1);
- dbug_tmp_use_all_columns(table, table->read_set);
+ dbug_tmp_use_all_columns(table, &table->read_set);
while(!res && !table->file->ha_rnd_next(table->record[0]))
{
diff --git a/plugin/type_inet/mysql-test/type_inet/type_inet6_partition.result b/plugin/type_inet/mysql-test/type_inet/type_inet6_partition.result
index 1b98078a91d..48f10a39989 100644
--- a/plugin/type_inet/mysql-test/type_inet/type_inet6_partition.result
+++ b/plugin/type_inet/mysql-test/type_inet/type_inet6_partition.result
@@ -13,7 +13,7 @@ ERROR HY000: Partition column values of incorrect type
CREATE TABLE t1 (a INET6)
PARTITION BY LIST COLUMNS(a)
(PARTITION p00 VALUES IN ('€'));
-ERROR HY000: This partition function is not allowed
+ERROR 22007: Incorrect inet6 value: '€'
CREATE TABLE t1 (a INET6)
PARTITION BY LIST COLUMNS(a)
(PARTITION p00 VALUES IN ('::'),
diff --git a/plugin/type_inet/mysql-test/type_inet/type_inet6_partition.test b/plugin/type_inet/mysql-test/type_inet/type_inet6_partition.test
index 95aec533506..76ab24781f0 100644
--- a/plugin/type_inet/mysql-test/type_inet/type_inet6_partition.test
+++ b/plugin/type_inet/mysql-test/type_inet/type_inet6_partition.test
@@ -16,7 +16,7 @@ CREATE TABLE t1 (a INET6)
PARTITION BY LIST COLUMNS(a)
(PARTITION p00 VALUES IN (TIME'10:20:30'));
---error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
+--error ER_TRUNCATED_WRONG_VALUE
CREATE TABLE t1 (a INET6)
PARTITION BY LIST COLUMNS(a)
(PARTITION p00 VALUES IN ('€'));