Project

General

Profile

« Previous | Next » 

Revision 9482

lib/sh/db.sh: added mk_drop()

View differences:

lib/sh/db.sh
48 48
fi # load new aliases
49 49
if self_being_included; then
50 50

  
51
mk_drop() # usage: table=... mk_drop|*sql_ANSI
52
{
53
	log++; echo_func; kw_params table; : "${table?}"; mk_table_esc
54
	echo "DROP TABLE IF EXISTS $table_esc"
55
}
56

  
51 57
mk_truncate() # usage: table=... mk_truncate|*sql_ANSI
52 58
{
53 59
	log++; echo_func; kw_params table; : "${table?}"; mk_table_esc

Also available in: Unified diff