2007-04-06 23:46:04 +00:00
|
|
|
---------------------------------------------------------------------
|
|
|
|
-- SQLite specific tests and configurations.
|
2007-10-16 15:42:50 +00:00
|
|
|
-- $Id: sqlite3.lua,v 1.2 2007/10/16 15:42:50 carregal Exp $
|
2007-04-06 23:46:04 +00:00
|
|
|
---------------------------------------------------------------------
|
|
|
|
|
2007-10-16 15:42:50 +00:00
|
|
|
DROP_TABLE_RETURN_VALUE = 1
|
|
|
|
|
2007-04-06 23:46:04 +00:00
|
|
|
---------------------------------------------------------------------
|
|
|
|
-- Produces a SQL statement which completely erases a table.
|
|
|
|
-- @param table_name String with the name of the table.
|
|
|
|
-- @return String with SQL statement.
|
|
|
|
---------------------------------------------------------------------
|
|
|
|
function sql_erase_table (table_name)
|
|
|
|
return string.format ("delete from %s where 1", table_name)
|
|
|
|
end
|
|
|
|
|
|
|
|
function checkUnknownDatabase(ENV)
|
|
|
|
-- skip this test
|
2015-11-30 10:21:19 -02:00
|
|
|
end
|
|
|
|
|
|
|
|
table.insert (CONN_METHODS, "escape")
|
|
|
|
table.insert (EXTENSIONS, escape)
|