Details
-
Type:
Bug
-
Status: In Progress
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.0.10
-
Fix Version/s: 10.0
-
Component/s: None
-
Labels:None
-
Sprint:10.0.20
Description
Fix for MySQL "Bug#11764633 : 57491: THD->MAIN_DA.IS_OK() ASSERT IN EMBEDDED" seem to be merged to 10.0, but test case is not.
Unfortunately just applying this test case doesn't make it work: test case is disabled due to:
revno: 2875.286.26 committer: Mayank Prasad <mayank.prasad@oracle.com branch nick: 5.5_12561297 timestamp: Tue 2011-06-14 00:11:24 +0530 message: BUG#12561297:LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING. Issue: When libmysqld/example/mysql_embedded is executed, it was getting abort. Its a regression as it was working in 5.1 and failed in 5.5. Issue is there because remaining_argc/remaining_argv were not getting assigned correctly in init_embedded_server() which were being used later in init_common_variable(). Solution: Rectified code to pass correct argc/argv to be used in init_common_variable().
Please fix that, enable mysql_embedded test and add test case as in attached patch.
Gliffy Diagrams
Attachments
Issue Links
- is part of
-
MDEV-4784 merge test cases from 5.6
-
- Stalled
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
I was able to see two problems here:
1. A bug in the mysql_test_run.pl, that doesn't set any parameters to the $MYSQL_EMBEDDED command. We need to at least add the '--defaults-file=.../.my.cnf' there
2. Just dointg the above doesn't make the test working as both mysqltest_embedded and mysql_embedded try to use same data directory so the ARIA engine fails to get started.
So that i'm not sure at the moment how to fix that, though would like to note that this bug is about the testing system only as far as i can see.