Skip to content

Commit

Permalink
Fix version to 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mbdavid committed Jan 19, 2020
1 parent 876838b commit 5957e4d
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 13 deletions.
2 changes: 1 addition & 1 deletion LiteDB
15 changes: 13 additions & 2 deletions LiteDB.Studio/Forms/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions LiteDB.Studio/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,15 @@ public async void Connect(ConnectionString connectionString)
try
{
_db = await this.AsyncConnect(connectionString);

// force open database
var uv = _db.UserVersion;
}
catch (Exception ex)
{
_db?.Dispose();
_db = null;

MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

return;
Expand Down
4 changes: 2 additions & 2 deletions LiteDB.Studio/Forms/MainForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAE
DAAAAk1TRnQBSQFMAgEBBAEAAagBAwGoAQMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
DAAAAk1TRnQBSQFMAgEBBAEAAbABAwGwAQMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
Expand Down Expand Up @@ -199,7 +199,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAA8
CwAAAk1TRnQBSQFMAgEBBgEAAXgBAQF4AQEBFAEAARQBAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CwAAAk1TRnQBSQFMAgEBBgEAAYABAQGAAQEBFAEAARQBAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABUAMAASgDAAEBAQABCAUAAYABDBgAAYACAAGAAwACgAEAAYADAAGAAQABgAEAAoACAAPAAQABwAHc
AcABAAHwAcoBpgEAATMFAAEzAQABMwEAATMBAAIzAgADFgEAAxwBAAMiAQADKQEAA1UBAANNAQADQgEA
AzkBAAGAAXwB/wEAAlAB/wEAAZMBAAHWAQAB/wHsAcwBAAHGAdYB7wEAAdYC5wEAAZABqQGtAgAB/wEz
Expand Down
13 changes: 11 additions & 2 deletions LiteDB.Studio/ICSharpCode.TextEditor/Resources/SQL-Mode.xshd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ http://minisqlquery.codeplex.com/license
<Key word="TRANSACTION" />
<Key word="ANALYZE" />
<Key word="CHECKPOINT" />
<Key word="SHRINK" />
<Key word="REBUILD" />
<Key word="PRAGMA" />
<Key word="CREATE" />
<Key word="INDEX" />
<Key word="ON" />
Expand Down Expand Up @@ -106,7 +107,15 @@ http://minisqlquery.codeplex.com/license
</KeyWords>

<KeyWords name="SqlMethods" bold="false" italic="false" color="Fuchsia">


<!-- Pragmas.cs -->
<Key word="USER_VERSION" />
<Key word="COLLATION" />
<Key word="TIMEOUT" />
<Key word="LIMIT_SIZE" />
<Key word="UTC_DATE" />
<Key word="CHECKPOINT" />

<!-- Aggregate.cs -->
<Key word="COUNT" />
<Key word="MIN" />
Expand Down
4 changes: 2 additions & 2 deletions LiteDB.Studio/LiteDB.Studio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LiteDB\LiteDB\LiteDB.csproj">
<Project>{1c294c07-2535-443d-9b68-a7c6e74def82}</Project>
<ProjectReference Include="..\..\LiteDB\LiteDB\LiteDB.csproj">
<Project>{9497da19-1fca-4c2e-a1ab-8dfaacbc76e1}</Project>
<Name>LiteDB</Name>
</ProjectReference>
</ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions LiteDB.Studio/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
[assembly: AssemblyTitle("LiteDB.Studio")]
[assembly: AssemblyDescription("A GUI tool for LiteDB v5")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Numeria Software")]
[assembly: AssemblyCompany("LiteDB")]
[assembly: AssemblyProduct("LiteDB.Studio")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyCopyright("MIT")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("0002e0ff-c91f-4b8b-b29b-2a477e184408")]
[assembly: AssemblyVersion("0.5.2.0")]
[assembly: AssemblyFileVersion("0.5.2.0")]
[assembly: AssemblyVersion("0.9.0.0")]
[assembly: AssemblyFileVersion("0.9.0.0")]

0 comments on commit 5957e4d

Please sign in to comment.