Skip to content

Commit

Permalink
cherry pick fix for #564 from the no-xamarin branch into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsink committed Nov 9, 2023
1 parent 07c8837 commit afc2edc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<Copyright>Copyright 2014-2023 SourceGear, LLC</Copyright>
<Company>SourceGear</Company>
<Authors>Eric Sink</Authors>
<Version>2.1.5-pre20230515124719</Version>
<AssemblyVersion>2.1.5.1960</AssemblyVersion>
<FileVersion>2.1.5.1960</FileVersion>
<Version>2.1.7-pre20231109155839</Version>
<AssemblyVersion>2.1.7.2138</AssemblyVersion>
<FileVersion>2.1.7.2138</FileVersion>
<Description>SQLitePCLRaw is a Portable Class Library (PCL) for low-level (raw) access to SQLite</Description>
<ProviderLangVersion>10.0</ProviderLangVersion>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
Expand All @@ -31,4 +31,4 @@
<!--The NoNFloatUsing below is a workaround for xamarin/xamarin-macios/#14434-->
<NoNFloatUsing>true</NoNFloatUsing>
</PropertyGroup>
</Project>
</Project>
10 changes: 8 additions & 2 deletions src/common/tests_xunit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,6 @@ public void test_sqlite3_memory()
#endif
}

#if TODO
[Fact]
public void test_sqlite3_soft_heap_limit64()
{
Expand All @@ -828,6 +827,10 @@ public void test_sqlite3_soft_heap_limit64()

query = raw.sqlite3_soft_heap_limit64(-1);
Assert.Equal(limit, query);

raw.sqlite3_soft_heap_limit64(0);
var gone = raw.sqlite3_soft_heap_limit64(-1);
Assert.Equal(0, gone);
}

[Fact]
Expand All @@ -849,8 +852,11 @@ public void test_sqlite3_hard_heap_limit64()

query = raw.sqlite3_hard_heap_limit64(-1);
Assert.Equal(limit, query);

raw.sqlite3_hard_heap_limit64(0);
var gone = raw.sqlite3_hard_heap_limit64(-1);
Assert.Equal(0, gone);
}
#endif

[Fact]
public void test_sqlite3_status()
Expand Down

0 comments on commit afc2edc

Please sign in to comment.