Bug #21792 Perl DBD needs to do appropriate initialisation for multithreaded client apps

Submitted: 23 Aug 2006 6:31 Modified: 29 Dec 2006 17:28
Reporter: Arjen Lentz Email Updates:
Status: Closed Impact on me:
None 
Category:Connectors: DBD::mysql ( Perl ) Severity:S3 (Non-critical)
Version: OS:
Assigned to: Jim Winstead CPU Architecture:Any
Tags: dbd, perl

[23 Aug 2006 6:31] Arjen Lentz
Description:
There's a race condition, if a multithreaded up uses the client library.
See bug#13099

As Tim's comment there indicates, the issue needs to be dealt with in individual wrappers/apps.

How to repeat:
See bug#13099

Suggested fix:
From Dean: use pthread_once() or mysql_library_init() in dbdimp.c for threaded environments.
[25 Aug 2006 0:54] MySQL Verification Team
Thank you for the bug report.
[29 Dec 2006 17:28] Jim Winstead
Patch committed, will be in the next release (probably 4.01).

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.