Skip to content

Commit db6a049

Browse files
authored
Merge pull request #3 from chdb-io/auxten-patch-1
Fix libchdb to v2.0.4 for now
2 parents 6da1be9 + eeb8ca3 commit db6a049

File tree

6 files changed

+223
-208
lines changed

6 files changed

+223
-208
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
dotnet build --no-restore --configuration Release
7373
7474
- name: Test
75-
run: dotnet test -c Release --no-build --logger trx --results-directory "TestResults-${{ matrix.rid }}"
75+
run: dotnet test -c Release /p:TestTfmsInParallel=false --logger "console;verbosity=detailed" --no-build --logger trx --results-directory "TestResults-${{ matrix.rid }}"
7676

7777
# - name: Upload dotnet test results
7878
# uses: actions/upload-artifact@v4

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ A .NET Core binding for [chdb](https://doc.chdb.io) library.
77
![NuGet Version](https://img.shields.io/nuget/vpre/chdb)
88
![NuGet Downloads](https://img.shields.io/nuget/dt/chdb)
99

10+
### Architecture
11+
12+
<div align="center">
13+
<img src="https://github.com/chdb-io/chdb-dotnet/raw/main/chdb-dotnet.png" width="450">
14+
</div>
15+
1016
### Usage
1117

1218
Running on platforms: linux, osx, windows, and architectures: x64, arm64.
@@ -102,7 +108,7 @@ chdb "select * from system.formats where is_output = 1" PrettyCompact
102108
# Build
103109

104110
```bash
105-
./update_libchdb.sh [v1.2.1]
111+
./update_libchdb.sh [v2.0.4]
106112
cp libchdb.so src/chdb/
107113
dotnet build -c Release
108114
dotnet test -c Release
@@ -115,3 +121,4 @@ chdb --version
115121
## Authors
116122

117123
* [Andreas Vilinski](https://github.com/vilinski)
124+
* [Auxten](https://github.com/auxten)

chdb-dotnet.png

87 KB
Loading

src/chdb/Session.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public record Session : IDisposable
2121

2222
public void Dispose()
2323
{
24-
if (!IsTemp && DataPath?.EndsWith("chdb_") == true && Directory.Exists(DataPath))
24+
if (IsTemp && DataPath?.EndsWith("chdb_") == true && Directory.Exists(DataPath))
2525
Directory.Delete(DataPath, true);
2626
}
2727

0 commit comments

Comments
 (0)