chx wrote a SchemaAPI unit test in #302399: Schema API is not unit tested which revealed that MySQL schema API doesn't handle NULL default values correctly. Here is a fix for that. The test for that is in the original issue :)
| Comment | File | Size | Author |
|---|---|---|---|
| fix-mysql-schema.patch | 1.14 KB | damien tournoud |
Comments
Comment #1
chx commentedNice piece...
Comment #2
webchickI would like to see Crell review this patch, please.
Comment #3
Crell commentedThe approach seems sane. I've not tried running it yet, but I assume chx did. :-) Looks good to me if it works.
Comment #4
damien tournoud commentedPer #3.
I ran that patch thru the new Schema API test in #302399: Schema API is not unit tested. That test fails before the patch, and succeeds after. No other impact on the tests.
Comment #5
dries commentedCommitted to CVS HEAD. It doesn't seem to fix all tests though.