Skip to content

Commit

Permalink
Fix SQL Server view query bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Oct 4, 2019
1 parent bfdea20 commit af095e6
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
Binary file modified .nuget/nuget.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions src/API/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@

[assembly:ComVisible(false)]
[assembly: AssemblyVersion("3.5.2.15")]
[assembly: AssemblyFileVersion("3.5.2.82")]
[assembly: AssemblyInformationalVersion("3.5.2.82")]
[assembly: AssemblyFileVersion("3.5.2.83")]
[assembly: AssemblyInformationalVersion("3.5.2.83")]
2 changes: 1 addition & 1 deletion src/API/Repositories/ServerDBRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public List<string> GetAllSubscriptionNames()
public List<View> GetAllViews()
{
var names = ExecuteReader(
"SELECT S.name + '.' + T.name from sys.views T INNER JOIN sys.schemas S ON T.schema_id = S.schema_id WHERE [type] = 'U' AND is_ms_shipped = 0 ORDER BY S.name, T.[name];"
"SELECT S.name + '.' + T.name from sys.views T INNER JOIN sys.schemas S ON T.schema_id = S.schema_id WHERE [type] = 'V' AND is_ms_shipped = 0 ORDER BY S.name, T.[name];"
, new AddToListDelegate<string>(AddToListString));

var result = new List<View>();
Expand Down
Binary file modified src/GUI/lib/ISqlCeScripting.dll
Binary file not shown.
Binary file modified src/GUI/lib/SQLiteScripting.dll
Binary file not shown.
Binary file modified src/GUI/lib/SqlCeScripting.dll
Binary file not shown.
Binary file modified src/GUI/lib/SqlCeScripting40.dll
Binary file not shown.

0 comments on commit af095e6

Please sign in to comment.