vapor / mysql-nio

🐬 Non-blocking, event-driven Swift client for MySQL.
MIT License
87 stars 28 forks source link

Rmann/fix constraint error #27

Closed JetForMe closed 4 years ago

JetForMe commented 4 years ago

The MySQL support wasn't properly detecting duplicate key constraint violations. This change adds MySQLError.duplicateEntry() and associated unit test. A separate PR fixes the constraint test in fluent-mysql-driver.

tanner0101 commented 4 years ago

These changes are now available in 1.0.0-rc.2