Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added support for param values to be longer than 4000 characters #38

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

codeimpossible commented Apr 16, 2011

I was pretty surprised when I found that I couldn't insert more than 4000 characters using Massive. I submitted a patch yesterday but I closed it after DataChomp pointed out that it broke query plan caching.

The patch I have here checks the length of the value in the param and if the length is greater than 4000 it sets the length to -1 assuming that the param is going against a ntext/nvarchar(max) column.

Jared Barboza and others added some commits Apr 14, 2011

@robconery robconery closed this Apr 20, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment