File: sqlite3.lua

package info (click to toggle)
lua-sql 2.3.0-1%2Bbuild0
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 704 kB
  • sloc: ansic: 3,662; java: 123; makefile: 49; xml: 38
file content (19 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---------------------------------------------------------------------
-- SQLite specific tests and configurations.
-- $Id: sqlite3.lua,v 1.2 2007/10/16 15:42:50 carregal Exp $
---------------------------------------------------------------------

DROP_TABLE_RETURN_VALUE = 1

---------------------------------------------------------------------
-- 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
end