# Error applying a patch to schema\_dumper\_test.rb

**URL:** <https://www.ruby-forum.com/t/error-applying-a-patch-to-schema-dumper-test-rb/166128>\
**Category:** Deployment\
**Created:** [April 22, 2009, 5:09am UTC](https://www.ruby-forum.com/t/error-applying-a-patch-to-schema-dumper-test-rb/166128 "2009-04-22T05:09:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oferar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/67e7ee/32.png) [@oferar](https://www.ruby-forum.com/u/oferar)\
**Post date:** [April 22, 2009, 5:09am UTC](https://www.ruby-forum.com/t/error-applying-a-patch-to-schema-dumper-test-rb/166128/1 "2009-04-22T05:09:10Z")

</div>

Dear Fellows,

I’m having hard times applying a patch in the schema\_dumper\_test.rb to  
fix the blob issue with default value with mysql.

Here is the error :

activerecord-2.3.2]$ sudo patch -p0 \< patch\_mysql.patch  
patching file test/cases/schema\_dumper\_test.rb  
Hunk #1 FAILED at 36.  
1 out of 1 hunk FAILED – saving rejects to file  
test/cases/schema\_dumper\_test.rb.rej  
patching file test/cases/migration\_test.rb  
Hunk #1 FAILED at 39.  
Hunk #2 FAILED at 258.  
2 out of 2 hunks FAILED – saving rejects to file  
test/cases/migration\_test.rb.rej  
patching file lib/active\_record/connection\_adapters/mysql\_adapter.rb  
Hunk #1 succeeded at 105 with fuzz 1 (offset 11 lines).  
Hunk #2 succeeded at 203 (offset -4 lines).  
Hunk #3 succeeded at 238 (offset 11 lines).

* * *

any ideas ?

Thanks in advance !
