Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.4
-
None
-
None
-
-
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;
|
}
|
|
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
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 rc= mariadb_dyncol_create_many_named(&dyncol, 1,&key, &val, 0); /* crash */ FAIL_IF(rc < 0, "Unexpected error"); return OK; } |
Adding new columns to an already initialized column crashes: how to repeat: {code} 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 rc= mariadb_dyncol_create_many_named(&dyncol, 1,&key, &val, 0); /* crash */ FAIL_IF(rc < 0, "Unexpected error"); return OK; } {code} |
Fix Version/s | 10.0.5 [ 13201 ] |
Affects Version/s | 10.0.4 [ 13101 ] | |
Affects Version/s | 10.0.5 [ 13201 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | defaullt [ 28820 ] | MariaDB v2 [ 44404 ] |
Workflow | MariaDB v2 [ 44404 ] | MariaDB v3 [ 63743 ] |
Workflow | MariaDB v3 [ 63743 ] | MariaDB v4 [ 147016 ] |
dynamic columns unit-test appeared to be switched off, so now I am fixing it.