From 8823441741ce34030b26ed2f9d0f2fbedfa910f4 Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Wed, 7 Jun 2023 18:05:42 +0300 Subject: [PATCH] ddl: remove redundant check "check_schema_format" is already the first step of "check_schema". --- ddl.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ddl.lua b/ddl.lua index 0e1a478..6027739 100755 --- a/ddl.lua +++ b/ddl.lua @@ -137,11 +137,6 @@ local function _set_schema(schema) end local function set_schema(schema) - local ok, err = check_schema_format(schema) - if not ok then - return nil, err - end - local ok, err = check_schema(schema) if not ok then return nil, err