[MCOL-710] Adding a column failed if the column being added is of TEXT/LONGTEXT/BLOB/LONGBLOB Created: 2017-05-09 Updated: 2017-05-10 Resolved: 2017-05-10 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | DDLProc |
| Affects Version/s: | 1.1.0 |
| Fix Version/s: | 1.1.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Daniel Lee (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-10 |
| Description |
|
Build tested: Github source [root@localhost mariadb-columnstore-server]# git show Merge pull request #50 from mariadb-corporation/10.2-fixes 10.2 fixes [root@localhost mariadb-columnstore-server]# cd mariadb-columnstore-engine/ Merge pull request #169 from mariadb-corporation/ MariaDB [mytest]> alter table datatypetestm add column ctext integer; MariaDB [mytest]> alter table datatypetestm drop column ctext; MariaDB [mytest]> |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2017-05-10 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Didn't detect this was a BLOB/TEXT during column fill phase of adding a column. Detection added. | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2017-05-10 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Build verified: Github source 1.1.0 [root@localhost mariadb-columnstore-server]# git show Merge pull request #50 from mariadb-corporation/10.2-fixes 10.2 fixes [root@localhost mariadb-columnstore-server]# cd mariadb-columnstore-engine/ update post-install removed test lines of echo adn early exit diff --git a/oam/install_scripts/post-install b/oam/install_scripts/post-install if [ $user != "root" ]; then [root@localhost ~]# mcsmysql mytest Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [mytest]> show tables;
------------------
------------------ MariaDB [mytest]> alter table t1 add column c3 text; MariaDB [mytest]> alter table t1 add column c4 longtext; MariaDB [mytest]> alter table t1 add column c5 blob;; MariaDB [mytest]> alter table t1 add column c6 longblob; MariaDB [mytest]> desc t1;
------
------ |