mirror of
https://gitee.com/johng/gf
synced 2026-07-04 21:03:13 +08:00
fix(contrib/drivers/mssql): update tables SQL query for better compatibility (#4170)
修复gf gen在sqlserver上的异常问题: 1. https://github.com/gogf/gf/issues/1722 2. https://github.com/gogf/gf/issues/1761 ```powershell > gf gen dao fetching tables failed: SELECT NAME FROM SYSOBJECTS WHERE XTYPE='U' AND STATUS >= 0 ORDER BY NAME: mssql: 对象名 'SYSOBJECTS' 无效。 1. SELECT NAME FROM SYSOBJECTS WHERE XTYPE='U' AND STATUS >= 0 ORDER BY NAME 2. mssql: 对象名 'SYSOBJECTS' 无效。 ``` 在SqlServer 2022已测试通过:  --------- Co-authored-by: hailaz <739476267@qq.com>
This commit is contained in:
8
.github/workflows/scripts/ci-main.sh
vendored
8
.github/workflows/scripts/ci-main.sh
vendored
@ -7,14 +7,6 @@ for file in `find . -name go.mod`; do
|
||||
dirpath=$(dirname $file)
|
||||
echo $dirpath
|
||||
|
||||
# ignore mssql tests as its docker service failed
|
||||
# TODO remove this ignoring codes after the mssql docker service OK
|
||||
if [ "mssql" = $(basename $dirpath) ]; then
|
||||
# clean docker containers and images to free disk space
|
||||
# bash .github/workflows/scripts/ci-main-clean.sh "$dirpath"
|
||||
continue 1
|
||||
fi
|
||||
|
||||
# package kubecm was moved to sub ci procedure.
|
||||
if [ "kubecm" = $(basename $dirpath) ]; then
|
||||
continue 1
|
||||
|
||||
Reference in New Issue
Block a user