chore: fix some minor issues in comments (#5051)

Signed-off-by: queryfast <queryfast@outlook.com>
This commit is contained in:
queryfast
2025-08-05 12:13:44 +08:00
committed by GitHub
parent 569c00ad09
commit d9df08b079
4 changed files with 5 additions and 5 deletions

View File

@@ -25,8 +25,8 @@ type (
ResultHandler func(sql.Result, error)
// A BulkInserter is used to batch insert records.
// Postgresql is not supported yet, because of the sql is formated with symbol `$`.
// Oracle is not supported yet, because of the sql is formated with symbol `:`.
// Postgresql is not supported yet, because of the sql is formatted with symbol `$`.
// Oracle is not supported yet, because of the sql is formatted with symbol `:`.
BulkInserter struct {
executor *executors.PeriodicalExecutor
inserter *dbInserter

View File

@@ -82,7 +82,7 @@ func TestExtractValidTraceContext(t *testing.T) {
}),
},
{
name: "invalid tracestate perserves traceparent",
name: "invalid tracestate preserves traceparent",
traceparent: "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-00",
tracestate: "invalid$@#=invalid",
sc: trace.NewSpanContext(trace.SpanContextConfig{