summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-02-15 16:43:15 +0100
committerSergei Golubchik <serg@mariadb.org>2021-02-15 16:43:15 +0100
commit25d9d2e37f37fd3d6dfa0004a142f83c260e7ebf (patch)
treededbab65f15c43cfb4abba87f9ff5da7df47a73c /plugin
parent5e3d3220bbe344b0de60b26c24fd5cdc9fe1741a (diff)
parent26965387230a9b13fb716344477d108bb87dea98 (diff)
downloadmariadb-git-25d9d2e37f37fd3d6dfa0004a142f83c260e7ebf.tar.gz
Merge branch 'bb-10.4-release' into bb-10.5-release
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 ('€'));