Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/8] sql: cleanup code from obsolete macros
@ 2019-04-29 17:26 Stanislav Zudin
  2019-04-29 17:26 ` [tarantool-patches] [PATCH 1/8] " Stanislav Zudin
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Stanislav Zudin @ 2019-04-29 17:26 UTC (permalink / raw)
  To: tarantool-patches, korablev; +Cc: Stanislav Zudin

The patch removes unused constants and macros

Issue: https://github.com/tarantool/tarantool/issues/3978
Branch: https://github.com/tarantool/tarantool/tree/stanztt/gh-3978-obsolete-macros

Stanislav Zudin (8):
  sql: cleanup code from obsolete macros
  Removes unused functions and commented many years ago code.
  Removes unused functions.
  Removes unused functions and macros.
  Removes the following unused macros: SQL_ENABLE_MEMORY_MANAGEMENT
    SQL_ENABLE_UNKNOWN_SQL_FUNCTION SQL_SUBSTR_COMPATIBILITY
    SQL_ENABLE_STMT_SCANSTATUS
  Removes the following unused macros: SQL_EXPLAIN_ESTIMATED_ROWS
    SQL_ENABLE_COLUMN_USED_MASK SQL_DISABLE_DIRSYNC
    SQL_OMIT_AUTOMATIC_INDEX SQL_DEBUG_SORTER_THREADS
    SQL_DEFAULT_WORKER_THREADS SQL_LIMIT_WORKER_THREADS
    SQL_MAX_WORKER_THREADS
  Removes unused constants
  Removes the following unused macros: SQL_PRINTF_PRECISION_LIMIT
    SQL_OMIT_COMPOUND_SELECT SQL_POWERSAFE_OVERWRITE
    SQL_OMIT_PROGRESS_CALLBACK SQL_OMIT_AUTORESET SQL_OMIT_DECLTYPE
    SQL_ENABLE_COLUMN_METADATA SQL_TRACE_SIZE_LIMIT
    SQL_OMIT_LIKE_OPTIMIZATION SQL_OMIT_OR_OPTIMIZATION
    SQL_OMIT_BETWEEN_OPTIMIZATION

 extra/mkkeywordhash.c      |  12 -
 src/box/sql/CMakeLists.txt |   3 -
 src/box/sql/build.c        |   3 -
 src/box/sql/cursor.h       |  25 --
 src/box/sql/date.c         |   8 +-
 src/box/sql/expr.c         |  94 +----
 src/box/sql/fault.c        |   3 -
 src/box/sql/func.c         |  30 --
 src/box/sql/global.c       |   6 -
 src/box/sql/hwtime.h       |  63 ----
 src/box/sql/insert.c       |   4 -
 src/box/sql/main.c         |  79 -----
 src/box/sql/malloc.c       | 170 ----------
 src/box/sql/os_unix.c      |   2 -
 src/box/sql/parse.y        |  12 +-
 src/box/sql/printf.c       |  10 -
 src/box/sql/random.c       |  26 --
 src/box/sql/resolve.c      |   6 +-
 src/box/sql/select.c       |  33 +-
 src/box/sql/sqlInt.h       | 273 +--------------
 src/box/sql/treeview.c     |   4 +-
 src/box/sql/trigger.c      |   2 -
 src/box/sql/util.c         | 106 ------
 src/box/sql/vdbe.c         |  47 +--
 src/box/sql/vdbe.h         |  15 +-
 src/box/sql/vdbeInt.h      |  10 -
 src/box/sql/vdbeapi.c      | 151 +--------
 src/box/sql/vdbeaux.c      |  83 -----
 src/box/sql/vdbesort.c     | 679 ++++---------------------------------
 src/box/sql/vdbetrace.c    |  34 --
 src/box/sql/where.c        | 324 +-----------------
 src/box/sql/whereInt.h     |  12 -
 src/box/sql/wherecode.c    |  65 +---
 src/box/sql/whereexpr.c    |  11 +-
 34 files changed, 103 insertions(+), 2302 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-05-29 14:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-29 17:26 [tarantool-patches] [PATCH 0/8] sql: cleanup code from obsolete macros Stanislav Zudin
2019-04-29 17:26 ` [tarantool-patches] [PATCH 1/8] " Stanislav Zudin
2019-04-29 17:26 ` [tarantool-patches] [PATCH 2/8] Removes unused functions and commented many years ago code Stanislav Zudin
2019-05-19 15:15   ` [tarantool-patches] " n.pettik
2019-05-29  8:21     ` Stanislav Zudin
2019-04-29 17:26 ` [tarantool-patches] [PATCH 3/8] Removes unused functions Stanislav Zudin
2019-04-29 17:26 ` [tarantool-patches] [PATCH 4/8] Removes unused functions and macros Stanislav Zudin
2019-05-19 15:16   ` [tarantool-patches] " n.pettik
2019-05-29 14:01     ` Stanislav Zudin
2019-04-29 17:26 ` [tarantool-patches] [PATCH 5/8] Removes the following unused macros: SQL_ENABLE_MEMORY_MANAGEMENT SQL_ENABLE_UNKNOWN_SQL_FUNCTION SQL_SUBSTR_COMPATIBILITY SQL_ENABLE_STMT_SCANSTATUS Stanislav Zudin
2019-04-29 17:26 ` [tarantool-patches] [PATCH 6/8] Removes the following unused macros: SQL_EXPLAIN_ESTIMATED_ROWS SQL_ENABLE_COLUMN_USED_MASK SQL_DISABLE_DIRSYNC SQL_OMIT_AUTOMATIC_INDEX SQL_DEBUG_SORTER_THREADS SQL_DEFAULT_WORKER_THREADS SQL_LIMIT_WORKER_THREADS SQL_MAX_WORKER_THREADS Stanislav Zudin
2019-05-19 15:16   ` [tarantool-patches] " n.pettik
2019-05-29 14:02     ` Stanislav Zudin
2019-04-29 17:26 ` [tarantool-patches] [PATCH 7/8] Removes unused constants Stanislav Zudin
2019-04-29 17:26 ` [tarantool-patches] [PATCH 8/8] Removes the following unused macros: SQL_PRINTF_PRECISION_LIMIT SQL_OMIT_COMPOUND_SELECT SQL_POWERSAFE_OVERWRITE SQL_OMIT_PROGRESS_CALLBACK SQL_OMIT_AUTORESET SQL_OMIT_DECLTYPE SQL_ENABLE_COLUMN_METADATA SQL_TRACE_SIZE_LIMIT SQL_OMIT_LIKE_OPTIMIZATION SQL_OMIT_OR_OPTIMIZATION SQL_OMIT_BETWEEN_OPTIMIZATION Stanislav Zudin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox