-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow setting parameter size to the same as the current value (#…
…7401) Some frameworks (NHibernate) will automatically set the parameter size to either the default value (zero) or to a value that is copied from another parameter. This fails for parameters that are not of type String or Bytes for Spanner, although there is no reason to fail in that case, as the actual state of the parameter does not change to an invalid state. This change makes setting the size of a parameter to the same value as the current value a no-op.
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters