forked from openGauss-Ecosystem/openGauss-trigger
Edit by browser
This commit is contained in:
parent
1efdff0f72
commit
524c34b3f5
|
@ -23,8 +23,10 @@
|
|||
gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 < src/finance1.sql >log.txt 2>&1
|
||||
|
||||
#gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 < src/ins_upd.sql >log.txt 2>&1
|
||||
gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 -c "drop trigger if exists before_property_inserted on property;">log.txt 2>&1
|
||||
#gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 -c "drop trigger if exists before_property_inserted on property;">log.txt 2>&1
|
||||
|
||||
gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 -c "drop funtion if exists TRI_INSERT_FUNC;" >log.txt 2>&1
|
||||
gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 -c "drop trigger if exists before_property_inserted;" >log.txt 2>&1
|
||||
|
||||
|
||||
#---------- 运行学生代码 ----------
|
||||
|
@ -34,8 +36,6 @@ gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 -f src/test.
|
|||
#---------- 检查结果 ----------
|
||||
#mysql -h127.0.0.1 -uroot < src/ins_upd.sql 2>/dev/null
|
||||
gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 < src/ins_upd.sql >log.txt 2>&1
|
||||
gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 -c "drop funtion if exists TRI_INSERT_FUNC;" >log.txt 2>&1
|
||||
gsql -d postgres -U gaussdb -W'Passwd123@123' -h localhost -p5432 -c "drop trigger if exists before_property_inserted;" >log.txt 2>&1
|
||||
# 选择测试用例
|
||||
read -p '' choice
|
||||
|
||||
|
|
Loading…
Reference in New Issue