以前做程序和看pfc实例以为执行pfc_save时,就自动提交了。而且看也没有发现问题。
原来只是在单机上测试看不来。这样不提交被更改的表会一直被锁定,如果是网络版就会影响
其它用户的操作。pfc_save时一定要判断结果为1在手动提交或回滚。(有可能不用回滚,因为数据窗口的update可以采用的是保存缓冲点的失败后自动撤消缓冲点的语句和资源)
原来只是在单机上测试看不来。这样不提交被更改的表会一直被锁定,如果是网络版就会影响
其它用户的操作。pfc_save时一定要判断结果为1在手动提交或回滚。(有可能不用回滚,因为数据窗口的update可以采用的是保存缓冲点的失败后自动撤消缓冲点的语句和资源)