-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the identity is a BIGINT #266
Comments
You're right! Problem is though: there's no info to determine what the type should be, everything is dynamic... so I picked 'int' as in general that's a safe bet in this case... Any suggestions? |
Hmm. It smells like |
Looking at the code at that date #L1053 #L1066 those two lines will not fail if the PK is a Massive probably/possibly can't do better than this, as a cross-DB wrapper where most supported DBs work with But actually there was a line in that file #L785 which used an This is now fixed, or at least now follows the reasonable(?) pattern of the other two lines, as of 57073a9 for MySQL support. It will basically work for most users, if you really need |
Hi,
Looking at these two lines, it looks like the code assumes identities will be Int32s. So this would fail if instead, it's an Int64 for example.
https://github.com/FransBouma/Massive/blob/v2.0/src/Massive.Shared.cs#L1053
https://github.com/FransBouma/Massive/blob/v2.0/src/Massive.Shared.cs#L1066
The text was updated successfully, but these errors were encountered: