[tarantool-patches] [PATCH v1 00/21] sql: remove SQL error system.

imeevma at tarantool.org imeevma at tarantool.org
Sat May 25 13:44:29 MSK 2019


This patch-set is a follow-up for issue #4074. Since we are using
the Tarantool error system, the SQL error system should be
removed.

https://github.com/tarantool/tarantool/issues/4074
https://github.com/tarantool/tarantool/tree/imeevma/gh-4074-diag_set-in-vdbe

Mergen Imeev (21):
  sql: remove unused functions of SQL error system
  sql: disable lookaside system
  sql: remove SQL_OK error/status code
  sql: remove SQL_PERM, SQL_WARNING, SQL_ABORT errcodes
  sql: remove SQL_CANTOPEN errcode
  sql: remove SQL_NOTFOUND error/status code
  sql: remove SQL_LOCKED errcode
  sql: remove SQL_FULL errcode
  sql: remove SQL_MISUSE errcode
  sql: remove SQL_RANGE errcode
  sql: remove SQL_SCHEMA errcode
  sql: remove SQL_TOOBIG errcode
  sql: remove SQL_BUSY errcode
  sql: remove SQL_CONSTRAINT errcode
  sql: remove SQL_ERROR errcode
  sql: remove SQL_NOMEM errcode
  sql: remove SQL_IOERR errcode
  sql: remove SQL_TARANTOOL_ERROR errcode
  sql: remove field errMask from struct sql
  sql: replace rc by is_aborted in struct Parse
  sql: remove sql_log()

 src/box/bind.c              |  15 +--
 src/box/execute.c           |   6 +-
 src/box/sql.c               | 122 ++++++++-----------
 src/box/sql/analyze.c       |  12 +-
 src/box/sql/build.c         |   5 +-
 src/box/sql/cursor.c        |   4 +-
 src/box/sql/date.c          |  14 +--
 src/box/sql/expr.c          |   4 +-
 src/box/sql/fault.c         |   4 +-
 src/box/sql/fk_constraint.c |   6 +-
 src/box/sql/func.c          |  16 +--
 src/box/sql/global.c        |   3 -
 src/box/sql/insert.c        |   6 +-
 src/box/sql/legacy.c        |  19 ++-
 src/box/sql/main.c          | 171 +++++----------------------
 src/box/sql/malloc.c        | 158 ++-----------------------
 src/box/sql/os.c            |  14 +--
 src/box/sql/os_unix.c       | 281 +++++++++++++-------------------------------
 src/box/sql/prepare.c       |  70 ++---------
 src/box/sql/printf.c        |  36 +-----
 src/box/sql/resolve.c       |   3 +-
 src/box/sql/select.c        |  66 +++++------
 src/box/sql/sqlInt.h        | 146 +----------------------
 src/box/sql/status.c        |  37 +-----
 src/box/sql/tarantoolInt.h  |   9 +-
 src/box/sql/trigger.c       |   2 +-
 src/box/sql/util.c          |  81 -------------
 src/box/sql/vdbe.c          | 158 ++++++++++---------------
 src/box/sql/vdbe.h          |   1 -
 src/box/sql/vdbeInt.h       |  11 +-
 src/box/sql/vdbeapi.c       | 226 ++++++++---------------------------
 src/box/sql/vdbeaux.c       | 167 +++++++-------------------
 src/box/sql/vdbemem.c       | 122 +++++++++----------
 src/box/sql/vdbesort.c      | 266 ++++++++++++++++++++---------------------
 src/box/sql/where.c         | 107 +++++++----------
 src/box/sql/whereexpr.c     |   3 +-
 36 files changed, 658 insertions(+), 1713 deletions(-)

-- 
2.7.4





More information about the Tarantool-patches mailing list