patchQuery方法BUG

发生异常回滚缺少返回值
This commit is contained in:
pwf0112
2015-12-19 15:54:12 +08:00
parent c5649dbf28
commit ca6989aec5

View File

@@ -73,6 +73,7 @@ trait Query
$this->commit();
} catch (\think\exception $e) {
$this->rollback();
return false;
}
return true;
}