Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.0.4
-
Fix Version/s: 10.0.5
-
Component/s: None
-
Labels:None
-
Environment:-
Description
Adding new columns to an already initialized column crashes:
how to repeat:
static int test_mdev_4994(MYSQL *mysql) { DYNAMIC_COLUMN dyncol; uint key= 1; DYNAMIC_COLUMN_VALUE val; int rc; val.type= MYSQL_TYPE_NULL; mariadb_dyncol_init(&dyncol); /* see patch for MDEV-4993 */ rc= mariadb_dyncol_create_many_named(&dyncol, 1,&key, &val, 0); /* crash */ FAIL_IF(rc < 0, "Unexpected error"); return OK; }
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
dynamic columns unit-test appeared to be switched off, so now I am fixing it.