Permalink
Browse files

Additional fix for single node drop node.

  • Loading branch information...
1 parent eb16a79 commit 20fe8d63fd1ee27333865fa9a7003842c33be742 @ssinger ssinger committed Nov 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/slonik/parser.y
View
@@ -634,10 +634,10 @@ stmt_drop_node : lno K_DROP K_NODE option_list
if (assign_options(opt, $4) == 0)
{
- if(opt[1].ival > -1 )
+ if(opt[0].ival > -1 )
{
new->no_id_list=malloc(sizeof(int)*2);
- new->no_id_list[0]=opt[1].ival;
+ new->no_id_list[0]=opt[0].ival;
new->no_id_list[1]=-1;
}
else

0 comments on commit 20fe8d6

Please sign in to comment.