[MDEV-5995] MySQL Bug#12750920: EMBEDDED SERVER START/STOP Created: 2014-04-01  Updated: 2014-06-11  Resolved: 2014-06-11

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.10
Fix Version/s: 10.0.12

Type: Bug Priority: Critical
Reporter: Sergey Vojtovich Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-4784 merge test cases from 5.6 Stalled

 Description   

Please verify if the following revision is worth merging:

revno: 3402.71.1
committer: Mattias Jonsson <mattias.jonsson@oracle.com>
branch nick: b12750920-trunk
timestamp: Mon 2011-12-05 11:11:58 +0100
message:
  Bug#12750920: EMBEDDED SERVER START/STOP
 
  The main problem was pthread_key's was never deleted.
 
  Solved by deleting them when stopping the embedded library.
 
  Also fixed a couple of mem leaks found when running the test under
  valgrind.
 
  Some global sys_var was incompatible with restarts of the embedded
  library. They where preallocated and released at the end of the
  embedded library, but it then set its allocated flag to zero, resulting
  in it would not be released on successive ends of the embedded
  library. Solved by adding static buffers to use instead.
 
  The test now restarts the embedded library > 1024 times.



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

Fixing patch:
http://lists.askmonty.org/pipermail/commits/2014-June/006198.html

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