Build verified: 1.5.3-1 (drone build #287)
Reproduced the issue in 1.5.2-1
MariaDB [mytest]> create table t1 (c1 int, c2 char(20)) engine=columnstore;
Query OK, 0 rows affected (0.175 sec)
MariaDB [mytest]> insert into t1 values (50, 'Hawaii');
Query OK, 1 row affected (0.285 sec)
MariaDB [mytest]> select * from t1;
------------+
------------+
------------+
1 row in set (0.100 sec)
MariaDB [mytest]> select c1, insert(c2,1,5,'aloha') from t1;
----------------------------+
c1 |
insert(c2,1,5,'aloha') |
----------------------------+
----------------------------+
1 row in set (0.020 sec)
Verified fix in 1.5.3-1
MariaDB [mytest]> create table t1 (c1 int, c2 char(20)) engine=columnstore;
Query OK, 0 rows affected (0.230 sec)
MariaDB [mytest]> insert into t1 values (50, 'Hawaii');
Query OK, 1 row affected (0.375 sec)
MariaDB [mytest]> select c1, insert(c2,1,5,'aloha') from t1;
----------------------------+
c1 |
insert(c2,1,5,'aloha') |
----------------------------+
----------------------------+
1 row in set (0.097 sec)
MariaDB [mytest]> select c1, insert(c2,1,3,'aloha') from t1;
----------------------------+
c1 |
insert(c2,1,3,'aloha') |
----------------------------+
----------------------------+
1 row in set (0.022 sec)
MariaDB [mytest]> select c1, insert(c2,2,3,'aloha') from t1;
----------------------------+
c1 |
insert(c2,2,3,'aloha') |
----------------------------+
----------------------------+
1 row in set (0.018 sec)
Build verified: 1.5.3-1 (drone build #287)
Reproduced the issue in 1.5.2-1
MariaDB [mytest]> create table t1 (c1 int, c2 char(20)) engine=columnstore;
Query OK, 0 rows affected (0.175 sec)
MariaDB [mytest]> insert into t1 values (50, 'Hawaii');
Query OK, 1 row affected (0.285 sec)
MariaDB [mytest]> select * from t1;
-----
-------+-----
-------+-----
-------+1 row in set (0.100 sec)
MariaDB [mytest]> select c1, insert(c2,1,5,'aloha') from t1;
-----
-----------------------+-----
-----------------------+-----
-----------------------+1 row in set (0.020 sec)
Verified fix in 1.5.3-1
MariaDB [mytest]> create table t1 (c1 int, c2 char(20)) engine=columnstore;
Query OK, 0 rows affected (0.230 sec)
MariaDB [mytest]> insert into t1 values (50, 'Hawaii');
Query OK, 1 row affected (0.375 sec)
MariaDB [mytest]> select c1, insert(c2,1,5,'aloha') from t1;
-----
-----------------------+-----
-----------------------+-----
-----------------------+1 row in set (0.097 sec)
MariaDB [mytest]> select c1, insert(c2,1,3,'aloha') from t1;
-----
-----------------------+-----
-----------------------+-----
-----------------------+1 row in set (0.022 sec)
MariaDB [mytest]> select c1, insert(c2,2,3,'aloha') from t1;
-----
-----------------------+-----
-----------------------+-----
-----------------------+1 row in set (0.018 sec)