bug: revert code, mv ret value from try block back to catch block #1532
Labels
A-bug
Something isn't working
C-stonedb-5.7
associated with stonedb 5.7
good first issue
Good for newcomers
Milestone
Have you read the Contributing Guidelines on issues?
Please confirm if bug report does NOT exists already ?
Describe the problem
Before, we set
ret = 1
if catch a throw, but in pr 0be195a, setret
action has been moved totry
block, not efficient, every time we do truncate success,ret
will be setted to1
.Expected behavior
move back to
catch
block.How To Reproduce
No response
Environment
No response
Are you interested in submitting a PR to solve the problem?
The text was updated successfully, but these errors were encountered: