Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrummerhu <drummer@drummer.hu>2014-04-15 23:09:11 +0400
committerdrummerhu <drummer@drummer.hu>2014-04-15 23:09:11 +0400
commitb4786dbd7e7f84f4a57c35a44c95a17b2e883333 (patch)
tree396cf19ae8c79094a576ab9eb84c74dbc2fd564d /mcs/class/Mono.Data.Tds
parent7e33fc7450aa9942e6aef1afa656010cec6bc0e0 (diff)
xml type parameters have no size specifier
generate "@p1 xml" instead of "@p1 xml(123)"
Diffstat (limited to 'mcs/class/Mono.Data.Tds')
-rw-r--r--mcs/class/Mono.Data.Tds/Mono.Data.Tds/TdsMetaParameter.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/mcs/class/Mono.Data.Tds/Mono.Data.Tds/TdsMetaParameter.cs b/mcs/class/Mono.Data.Tds/Mono.Data.Tds/TdsMetaParameter.cs
index 8b704455cb3..d8a4b34fb13 100644
--- a/mcs/class/Mono.Data.Tds/Mono.Data.Tds/TdsMetaParameter.cs
+++ b/mcs/class/Mono.Data.Tds/Mono.Data.Tds/TdsMetaParameter.cs
@@ -322,7 +322,6 @@ namespace Mono.Data.Tds {
result.Append (size > 8000 ? "(max)" : String.Format ("({0})", size));
break;
case "nvarchar":
- case "xml":
int paramSize = Size < 0 ? GetActualSize () / 2 : Size;
result.Append (paramSize > 0 ? (paramSize > 4000 ? "(max)" : String.Format ("({0})", paramSize)) : "(4000)");
break;