[tarantool-patches] Re: [PATCH] sql: remove pragma schema_version

  • From: Kirill Yukhin <kyukhin@xxxxxxxxxxxxx>
  • To: v.shpilevoy@xxxxxxxxxxxxx
  • Date: Tue, 31 Jul 2018 13:56:33 +0300

On 31 июл 13:54, Kirill Yukhin wrote:

This pragma is dead and produces nothing else but segfault.
Along w/ this pragma, remove now dead opcodes which set/read
schema_version and all related routines.
Also, improve opcode generation script.

Part of #3541
---
Branch: 
https://github.com/tarantool/tarantool/commits/kyukhin/gh-3541-remove-schema-version-pragma
Issue: https://github.com/tarantool/tarantool/issues/3541
Removed junk

modified   src/box/sql/vdbe.c
modified   src/box/sql/vdbe.c
@@ -3079,7 +3079,7 @@ case OP_TTransaction: {
 /* Opcode: OpenRead P1 P2 P3 P4 P5
  * Synopsis: index id = P2, space ptr = P4
  *
-\ * Open a cursor for a space specified by pointer in P4 and index
+ * Open a cursor for a space specified by pointer in P4 and index
  * id in P2. Give the new cursor an identifier of P1. The P1
  * values need not be contiguous but all P1 values should be
  * small integers. It is an error for P1 to be negative.

--
Regards, Kirill Yukhin

Other related posts: