fix(fn-run): propagar stdout/stderr de bash functions library-style #1

Open
dataforge wants to merge 537 commits from auto/0077-fn-run-bash-mudo into master
4 changed files with 30 additions and 0 deletions
Showing only changes of commit e9a8cbf20f - Show all commits
+2
View File
@@ -1,3 +1,5 @@
//go:build !noclickhouse
package infra
import (
+13
View File
@@ -0,0 +1,13 @@
//go:build noclickhouse
package infra
import (
"database/sql"
"fmt"
)
// ClickHouseOpen is a stub when built with the noclickhouse tag.
func ClickHouseOpen(host string, port int, user, password, database string) (*sql.DB, error) {
return nil, fmt.Errorf("clickhouse_open: clickhouse support not compiled (built with noclickhouse tag)")
}
+2
View File
@@ -1,3 +1,5 @@
//go:build !noduckdb
package infra
import (
+13
View File
@@ -0,0 +1,13 @@
//go:build noduckdb
package infra
import (
"database/sql"
"fmt"
)
// DuckDBOpen is a stub when built with the noduckdb tag.
func DuckDBOpen(path string) (*sql.DB, error) {
return nil, fmt.Errorf("duckdb_open: duckdb support not compiled (built with noduckdb tag)")
}