Switch to seaweedfs/cockroachdb-parser directly

Removed the replace directive and updated all references to use
github.com/seaweedfs/cockroachdb-parser directly instead of redirecting
from github.com/cockroachdb/cockroachdb-parser.

Changes:
- Updated import in weed/query/engine/cockroach_parser.go
- Removed replace directive from go.mod
- Now using seaweedfs/cockroachdb-parser@909763b171
  which includes all 32-bit architecture fixes and uses
  seaweedfs namespace throughout

Build verified successfully for GOOS=openbsd GOARCH=arm.
This commit is contained in:
Chris Lu
2025-10-21 11:43:22 -07:00
parent 986e3fe12e
commit 9b7ed67311
3 changed files with 5 additions and 7 deletions

View File

@@ -4,8 +4,8 @@ import (
"fmt"
"strings"
"github.com/cockroachdb/cockroachdb-parser/pkg/sql/parser"
"github.com/cockroachdb/cockroachdb-parser/pkg/sql/sem/tree"
"github.com/seaweedfs/cockroachdb-parser/pkg/sql/parser"
"github.com/seaweedfs/cockroachdb-parser/pkg/sql/sem/tree"
)
// CockroachSQLParser wraps CockroachDB's PostgreSQL-compatible SQL parser for use in SeaweedFS