aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-07-22 14:55:27 +0200
committerKim Alvefur <zash@zash.se>2023-07-22 14:55:27 +0200
commit6aa08d7c58434685183a30805d7c77e11381719e (patch)
tree49704f0b708f36d04199de0155037886b42eb2c1
parent022159d0f05f5c7d5b3cc7ad45857a797b8c4ec4 (diff)
downloadprosody-6aa08d7c58434685183a30805d7c77e11381719e.tar.gz
prosody-6aa08d7c58434685183a30805d7c77e11381719e.zip
util.sql: Remove unused String() and Integer() functions
According to MattJ, leftovers from an earlier vision for util.sql
-rw-r--r--util/sql.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/sql.lua b/util/sql.lua
index 438b5718..c897d734 100644
--- a/util/sql.lua
+++ b/util/sql.lua
@@ -27,8 +27,6 @@ local function is_column(x) return getmetatable(x)==column_mt; end
local function is_index(x) return getmetatable(x)==index_mt; end
local function is_table(x) return getmetatable(x)==table_mt; end
local function is_query(x) return getmetatable(x)==query_mt; end
-local function Integer() return "Integer()" end
-local function String() return "String()" end
local function Column(definition)
return setmetatable(definition, column_mt);
@@ -378,8 +376,6 @@ return {
is_index = is_index;
is_table = is_table;
is_query = is_query;
- Integer = Integer;
- String = String;
Column = Column;
Table = Table;
Index = Index;