Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error Can't update table 'prefix_nodes' in stored function/trigger because it is already used by statement which invoked this stored function/trigger. #10

Open
sushilshah opened this issue Oct 17, 2017 · 0 comments

Comments

@sushilshah
Copy link

Hi I am trying to follow the steps and delete a node

Hide or show nodes from subtree, explains as following:

Step 1. call p_get_tree(6) get the HARDWARE subtree,
Step 2. call p_node_hide(6, 0) to hide a subtree,
Step 3. call p_get_tree(6) get the HARDWARE subtree, when you get a subtree, it is not show in the result.
Step 4. call p_node_hide(6, 1) show HARDWARE subtree

However, getting an error as ERROR 1442 (HY000): Can't update table 'prefix_nodes' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.
error

Any help will be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant