Skip to content

Commit 6d98357

Browse files
committed
netfx: sync reference to length of JSON metadata substitution sequence
1 parent 693069f commit 6d98357

File tree

1 file changed

+1
-1
lines changed
  • src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11191,7 +11191,7 @@ internal void WriteBulkCopyMetaData(_SqlMetaDataSet metadataCollection, int coun
1119111191
stateObj.WriteByte(md.scale);
1119211192
break;
1119311193
case SqlDbTypeExtensions.Json:
11194-
stateObj.WriteByteArray(s_jsonMetadataSubstituteSequence, s_xmlMetadataSubstituteSequence.Length, 0);
11194+
stateObj.WriteByteArray(s_jsonMetadataSubstituteSequence, s_jsonMetadataSubstituteSequence.Length, 0);
1119511195
break;
1119611196
case SqlDbTypeExtensions.Vector:
1119711197
stateObj.WriteByte(md.tdsType);

0 commit comments

Comments
 (0)