[tarantool-patches] Re: [PATCH v1 1/1] Tests for CREATE TEMP TABLE and CREATE TEMPORARY TABLE

roman.habibov1 at yandex.ru roman.habibov1 at yandex.ru
Tue May 8 02:30:07 MSK 2018


diff --git a/test/sql-tap/table.test.lua b/test/sql-tap/table.test.lua
index 4882b18..3aa81f0 100755
--- a/test/sql-tap/table.test.lua
+++ b/test/sql-tap/table.test.lua
@@ -611,6 +611,9 @@ test:do_execsql2_test(
 --     SELECT * FROM [t4"abc];
 --   }
 -- } {cnt 1 max(b+c) 5}
+
+-- gh-2166 Functions with TEMP and TEMPORARY was removed before.
+
 test:do_catchsql_test(
 	"temp",
 	[[

08.05.2018, 02:12, "Vladislav Shpilevoy" <v.shpilevoy at tarantool.org>:
> On 07/05/2018 21:50, roman.habibov1 at yandex.ru wrote:
>>  diff --git a/commits/1 b/commits/1
>>  index 27ef2f6..dee20d6 100644
>>
>>  @@ -5,7 +5,7 @@ Date: Sat, 5 May 2018 01:45:06 +0300
>>    Subject: [PATCH v1 1/1] sql: tests for CREATE TEMP TABLE and CREATE TEMPORARY
>>     TABLE
>>
>>  07.05.2018, 16:08, "Vladislav Shpilevoy" <v.shpilevoy at tarantool.org>:
>>>  1. Please, in the commit title write a Tarantool submodule prefix. For example,
>>>  your patch is about SQL, so you would write 'sql: ' prefix.
>>
>>  diff --git a/test/sql-tap/table.test.lua b/test/sql-tap/table.test.lua
>>  index 4882b18..21213bc 100755
>>  --- a/test/sql-tap/table.test.lua
>>  +++ b/test/sql-tap/table.test.lua
>>  @@ -611,6 +611,9 @@ test:do_execsql2_test(
>>    -- SELECT * FROM [t4"abc];
>>    -- }
>>    -- } {cnt 1 max(b+c) 5}
>>  +
>>  +-- gh-2166 functions with TEMP and TEMPORARY are removed, tests needed to show that
>
> Please, do not write 'tests needed to show that' - all tests are needed to
> show something, it is obvious.
>
> At second, align the comments by 66 maximal symbols in line, and put a dot at
> the end of sentence.
>
>>  +
>>    test:do_catchsql_test(
>>            "temp",
>>            [[
>>
>>  07.05.2018, 16:08, "Vladislav Shpilevoy" <v.shpilevoy at tarantool.org>:
>>>  2. Before the test cases write in comments what do you test here, and
>>>  :write a link to the issue in the format 'gh-NNNN: description'.




More information about the Tarantool-patches mailing list