From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8159C20EA1 for ; Thu, 19 Apr 2018 05:15:24 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jn7bqoIlT32G for ; Thu, 19 Apr 2018 05:15:24 -0400 (EDT) Received: from smtp60.i.mail.ru (smtp60.i.mail.ru [217.69.128.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id C4D7520E55 for ; Thu, 19 Apr 2018 05:15:23 -0400 (EDT) From: Georgy Kirichenko Subject: [tarantool-patches] [PATCH 0/2] Update some sql tests against static types Date: Thu, 19 Apr 2018 12:15:16 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Georgy Kirichenko Update some sql tests against static types. This should be done before a static type casting will be introduced into a sql engine. By default all undefined columns defined as INT with manually adjusting in case of an errors. branch: ihttps://github.com/tarantool/tarantool/tree/gh-3102-autoconvert-test-for-types issue: #3102 Georgy Kirichenko (2): Convert some tests into a static-types form. Fix some sql tests against static types test/sql-tap/alias.test.lua | 2 +- test/sql-tap/analyze1.test.lua | 12 +-- test/sql-tap/analyze4.test.lua | 4 +- test/sql-tap/analyze8.test.lua | 2 +- test/sql-tap/analyzeC.test.lua | 2 +- test/sql-tap/autoindex4.test.lua | 6 +- test/sql-tap/coalesce.test.lua | 2 +- test/sql-tap/collation.test.lua | 2 +- test/sql-tap/colname.test.lua | 20 ++-- test/sql-tap/distinctagg.test.lua | 2 +- test/sql-tap/drop_all.test.lua | 2 +- test/sql-tap/e_expr.test.lua | 20 ++-- test/sql-tap/fkey3.test.lua | 10 +- test/sql-tap/func.test.lua | 20 ++-- ...2360-omit-truncate-in-transaction.test.lua | 2 +- test/sql-tap/gh-2723-concurrency.test.lua | 6 +- .../gh-2884-forbid-rowid-syntax.test.lua | 2 +- .../gh-2953-drop-table-with-FK.test.lua | 8 +- test/sql-tap/gh-2996-indexed-by.test.lua | 2 +- .../sql-tap/gh2130-index-refer-table.test.lua | 4 +- .../gh2250-trigger-chain-limit.test.lua | 2 +- test/sql-tap/icu.test.lua | 4 +- test/sql-tap/identifier-characters.test.lua | 6 +- test/sql-tap/identifier_case.test.lua | 4 +- test/sql-tap/in2.test.lua | 2 +- test/sql-tap/index7.test.lua | 10 +- test/sql-tap/insert1.test.lua | 22 ++--- test/sql-tap/intpkey.test.lua | 8 +- test/sql-tap/join.test.lua | 50 +++++----- test/sql-tap/join2.test.lua | 6 +- test/sql-tap/join6.test.lua | 18 ++-- test/sql-tap/keyword1.test.lua | 2 +- test/sql-tap/like3.test.lua | 4 +- test/sql-tap/limit.test.lua | 12 +-- test/sql-tap/minmax4.test.lua | 4 +- test/sql-tap/offset1.test.lua | 4 +- test/sql-tap/orderby1.test.lua | 6 +- test/sql-tap/orderby4.test.lua | 8 +- test/sql-tap/orderby5.test.lua | 8 +- test/sql-tap/orderby8.test.lua | 2 +- test/sql-tap/printf2.test.lua | 2 +- test/sql-tap/select4.test.lua | 8 +- test/sql-tap/select5.test.lua | 10 +- test/sql-tap/select8.test.lua | 2 +- test/sql-tap/select9.test.lua | 12 +-- test/sql-tap/selectF.test.lua | 4 +- test/sql-tap/selectG.test.lua | 2 +- test/sql-tap/table.test.lua | 92 +++++++++---------- test/sql-tap/tkt-02a8e81d44.test.lua | 2 +- test/sql-tap/tkt-385a5b56b9.test.lua | 4 +- test/sql-tap/tkt-4c86b126f2.test.lua | 2 +- test/sql-tap/tkt-4dd95f6943.test.lua | 10 +- test/sql-tap/tkt-54844eea3f.test.lua | 2 +- test/sql-tap/tkt-8c63ff0ec.test.lua | 4 +- test/sql-tap/tkt-a7b7803e.test.lua | 2 +- test/sql-tap/tkt-b75a9ca6b0.test.lua | 2 +- test/sql-tap/tkt-f973c7ac31.test.lua | 2 +- test/sql-tap/tkt-fa7bf5ec.test.lua | 2 +- test/sql-tap/tkt1473.test.lua | 4 +- test/sql-tap/tkt1501.test.lua | 2 +- test/sql-tap/tkt1514.test.lua | 2 +- test/sql-tap/tkt1537.test.lua | 4 +- test/sql-tap/tkt2832.test.lua | 6 +- test/sql-tap/tkt3424.test.lua | 2 +- test/sql-tap/tkt3541.test.lua | 2 +- test/sql-tap/tkt3581.test.lua | 4 +- test/sql-tap/tkt3773.test.lua | 4 +- test/sql-tap/tkt3911.test.lua | 6 +- test/sql-tap/tkt3935.test.lua | 4 +- test/sql-tap/trigger1.test.lua | 40 ++++---- test/sql-tap/trigger4.test.lua | 6 +- test/sql-tap/trigger7.test.lua | 4 +- test/sql-tap/trigger8.test.lua | 4 +- test/sql-tap/triggerC.test.lua | 66 ++++++------- test/sql-tap/triggerD.test.lua | 16 ++-- test/sql-tap/triggerE.test.lua | 6 +- test/sql-tap/view.test.lua | 30 +++--- test/sql-tap/where4.test.lua | 22 ++--- test/sql-tap/where7.test.lua | 6 +- test/sql-tap/whereA.test.lua | 4 +- test/sql-tap/whereC.test.lua | 2 +- test/sql-tap/whereF.test.lua | 14 +-- test/sql/check-clear-ephemeral.result | 2 +- test/sql/check-clear-ephemeral.test.lua | 2 +- test/sql/clear.result | 2 +- test/sql/clear.test.lua | 2 +- test/sql/delete-multiple-idx.result | 2 +- test/sql/delete-multiple-idx.test.lua | 2 +- test/sql/delete.result | 2 +- test/sql/delete.test.lua | 2 +- test/sql/drop-index.result | 2 +- test/sql/drop-index.test.lua | 2 +- test/sql/drop-table.result | 2 +- test/sql/drop-table.test.lua | 2 +- test/sql/errinj.result | 2 +- test/sql/errinj.test.lua | 2 +- test/sql/gh-2929-primary-key.result | 10 +- test/sql/gh-2929-primary-key.test.lua | 10 +- test/sql/gh-3199-no-mem-leaks.result | 6 +- test/sql/gh-3199-no-mem-leaks.test.lua | 6 +- .../gh2141-delete-trigger-drop-table.result | 2 +- .../gh2141-delete-trigger-drop-table.test.lua | 2 +- test/sql/gh2251-multiple-update.result | 4 +- test/sql/gh2251-multiple-update.test.lua | 4 +- ...808-inline-unique-persistency-check.result | 2 +- ...8-inline-unique-persistency-check.test.lua | 2 +- test/sql/insert-unique.result | 2 +- test/sql/insert-unique.test.lua | 2 +- test/sql/iproto.result | 6 +- test/sql/iproto.test.lua | 6 +- test/sql/max-on-index.result | 2 +- test/sql/max-on-index.test.lua | 2 +- test/sql/misc.result | 2 +- test/sql/misc.test.lua | 2 +- test/sql/persistency.result | 10 +- test/sql/persistency.test.lua | 8 +- test/sql/select-null.result | 2 +- test/sql/select-null.test.lua | 2 +- test/sql/transition.result | 10 +- test/sql/transition.test.lua | 10 +- test/sql/update-with-nested-select.result | 2 +- test/sql/update-with-nested-select.test.lua | 2 +- test/sql/view.result | 2 +- test/sql/view.test.lua | 2 +- 124 files changed, 441 insertions(+), 445 deletions(-) -- 2.17.0