Skip to content

Commit

Permalink
修复了下载执行功能的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hl0rey committed Oct 22, 2021
1 parent 920ec39 commit 22b4035
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DownLoadExec/DownLoadExec.sqlproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<ModelCollation>1033, CI</ModelCollation>
<DefaultFileStructure>BySchemaAndSchemaType</DefaultFileStructure>
<DeployToDatabase>True</DeployToDatabase>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetLanguage>CS</TargetLanguage>
<AppDesignerFolder>Properties</AppDesignerFolder>
<SqlServerVerification>False</SqlServerVerification>
Expand Down
2 changes: 1 addition & 1 deletion DownLoadExec/SqlStoredProcedure1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static void DownLoadExec(string tempfilename)
string[] namearry;
string url = "";
string dstfile = "";
if (tempfilename.Contains("")) {
if (tempfilename.Contains(",")) {
namearry = tempfilename.Split(',');
url = namearry[0];
dstfile = namearry[1];
Expand Down
Loading

0 comments on commit 22b4035

Please sign in to comment.