Bug #33682 | Patch: Semaphore class is Windows only preventing mono from using connector | ||
---|---|---|---|
Submitted: | 3 Jan 2008 23:16 | Modified: | 8 Jul 2008 14:09 |
Reporter: | Andrew A | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 1.0.10+ | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | connector, Contribution, Mono, pooling, Semaphore |
[3 Jan 2008 23:16]
Andrew A
[3 Jan 2008 23:18]
Andrew A
Patch from current to new Semaphore class design
Attachment: Semaphore_Managed.patch (application/octet-stream, text), 4.86 KiB.
[3 Jan 2008 23:18]
Andrew A
Result class from the patch being applied and suggested replacement
Attachment: Semaphore.cs (octet/stream, text), 4.12 KiB.
[3 Jan 2008 23:19]
Andrew A
Test Case - Run under Mono
Attachment: SemaphorePoolTest.cs (octet/stream, text), 599 bytes.
[3 Jan 2008 23:33]
Andrew A
Additional PoolingTest NUnit Test
Attachment: PoolingTests_Updated.patch (application/octet-stream, text), 2.96 KiB.
[7 May 2008 19:25]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/46479
[7 May 2008 19:26]
Reggie Burnett
Fixed in 1.0.11. This fix will not migrate past the 1.x series.
[8 May 2008 3:05]
Andrew A
Yep. I've moved on to .Net 2 connector now anyway, but thanks for getting this pushed in.
[8 Jul 2008 14:09]
Tony Bedford
An entry has been added to the 1.0.11 Changelog: Attempting to utilize MySQL Connector .Net version 1.0.10 throws a fatal exception under Mono when pooling is enabled.