fix(assets): improve error reporting for asset failures

fix(embed): update embedDirectives to return result directly

fix(executor): clean up import order and formatting

fix(syntax_test): change file permission syntax to octal

fix(mysql): update file permission syntax to octal

fix(pgsql): update file permission syntax to octal

fix(sqlex): simplify Walk function parameter handling

fix(transform): adjust identifier comparison logic

fix(template): clean up function formatting and error handling
This commit is contained in:
2026-10-12 22:04:40 +02:00
parent 05466a92b1
commit 1d93255575
17 changed files with 63 additions and 38 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ func ident(c byte) bool { return start(c) || c >= '0' && c <= '9' || c >= 128 }
// Walk visits named parameters and standalone line comments in executable SQL. Quoted
// strings/identifiers, dollar bodies, casts and nested block comments are opaque.
// Returning replacement text is literal: it is never scanned again.
func Walk(sql string, parameter func(string) string, lineComment func(string) string) string {
func Walk(sql string, parameter, lineComment func(string) string) string {
var out strings.Builder
for i := 0; i < len(sql); {
begin := i