[Tarantool-patches] [PATCH v1 1/1] box: check STRING length when it is cast to UUID

Timur Safin tsafin at tarantool.org
Sat Jun 5 18:24:02 MSK 2021


Ого! My bad!

: -----Original Message-----
: From: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
: Sent: Friday, June 4, 2021 9:32 PM
: To: Timur Safin <tsafin at tarantool.org>; imeevma at tarantool.org
: Cc: tarantool-patches at dev.tarantool.org
: Subject: Re: [Tarantool-patches] [PATCH v1 1/1] box: check STRING length
: when it is cast to UUID
: 
: > : diff --git a/test/sql-tap/uuid.test.lua b/test/sql-tap/uuid.test.lua
: > : index 83fcc3d0e..77ba06c2d 100755
: > : --- a/test/sql-tap/uuid.test.lua
: > : +++ b/test/sql-tap/uuid.test.lua
: > : @@ -1316,6 +1316,23 @@ test:do_execsql_test(
: > :          true
: > :      })
: > :
: > : +-- Make sure STRING of wrong length cannot be cast to UUID.
: >
: > 'cannot be casted'
: 
: Past is 'cast'.
: https://www.oxfordlearnersdictionaries.com/definition/english/cast_1?q=cast



More information about the Tarantool-patches mailing list