sql: remove AggStep0 and OP_BuiltinFunction0
This patch moves the initialization of sql_context out of the VDBE. This allows us to remove the opcodes OP_BuiltinFunction0 and OP_AggStep0, which work in a rather strange way. Moreover, due to the changes these opcodes make to the VDBEs, it is possible that the estimated size of the VDBE may change during execution of VDBE, which could lead to various problems. Needed for #4145
Showing
- src/box/sql/expr.c 9 additions, 3 deletionssrc/box/sql/expr.c
- src/box/sql/select.c 31 additions, 2 deletionssrc/box/sql/select.c
- src/box/sql/sqlInt.h 6 additions, 0 deletionssrc/box/sql/sqlInt.h
- src/box/sql/vdbe.c 3 additions, 78 deletionssrc/box/sql/vdbe.c
- src/box/sql/vdbeaux.c 2 additions, 10 deletionssrc/box/sql/vdbeaux.c
Loading
Please register or sign in to comment