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
Description
mariadb_dyncol_column_count returns an error (-1) if no columns were added.
How to repeat:
static int mdev_4995(MYSQL *mysql) { DYNAMIC_COLUMN dyncol; uint column_count= 5; mariadb_dyncol_init(&dyncol); /* see patch for MDEV-4993 */ rc= mariadb_dyncol_column_count(&dyncol,&column_count); FAIL_IF(rc < 0, "Error occured"); FAIL_IF(column_count != 0, "expected column_count=0"); return OK; }
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
It is pushed (I am waiting buildbot).