[MDEV-6000] MySQL Bug#11764633 : 57491: THD->MAIN_DA.IS_OK() ASSERT IN EMBEDDED Created: 2014-04-01  Updated: 2022-09-12  Resolved: 2022-09-12

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.0.10
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Sergey Vojtovich Assignee: Alexey Botchkov
Resolution: Won't Fix Votes: 0
Labels: None

Attachments: Text File bug11764633.patch    
Issue Links:
PartOf
is part of MDEV-4784 merge test cases from 5.6 Stalled
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.



 Comments   
Comment by Alexey Botchkov [ 2014-06-11 ]

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.

Comment by Alexey Botchkov [ 2014-06-11 ]

The plan for this is to start the mysql_embedded in the different data directory.

Comment by Sergei Golubchik [ 2022-09-12 ]

10.0 was EOLed in March 2019

Generated at Thu Feb 08 07:08:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.