diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d30f67a5..e190260c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,12 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build run: dotnet build --no-restore - name: Test - run: dotnet test --no-build --verbosity normal \ No newline at end of file + run: dotnet test --no-build --verbosity normal + - name: Run Demo CLI + run: dotnet run --project SharpCoreDB.Demo --no-build \ No newline at end of file diff --git a/SharpCoreDB/Services/SqlParser.cs b/SharpCoreDB/Services/SqlParser.cs index 0e90f153..fd7e73a2 100644 --- a/SharpCoreDB/Services/SqlParser.cs +++ b/SharpCoreDB/Services/SqlParser.cs @@ -62,7 +62,7 @@ public void Execute(string sql, Dictionary parameters, IWAL? wa // Proceed with existing logic var parts = sql.Trim().Split(' ', StringSplitOptions.RemoveEmptyEntries); - this.ExecuteInternal(originalSql ?? sql, parts, wal, originalSql ?? sql); + this.ExecuteInternal(sql, parts, wal, originalSql ?? sql); } ///