[Dbconfig-common-changes] [dbconfig-common] r290 -
branches/sqlite/internal
Matt Brown
mattb-guest at costa.debian.org
Wed Aug 9 13:58:19 CEST 2006
Author: mattb-guest
Date: 2006-08-09 11:58:18 +0000 (Wed, 09 Aug 2006)
New Revision: 290
Modified:
branches/sqlite/internal/sqlite
Log:
Save the database dump to the specified dumpfile rather than sending it
to stdout
Modified: branches/sqlite/internal/sqlite
===================================================================
--- branches/sqlite/internal/sqlite 2006-08-09 11:50:37 UTC (rev 289)
+++ branches/sqlite/internal/sqlite 2006-08-09 11:58:18 UTC (rev 290)
@@ -141,7 +141,9 @@
## dump a sqlite database
##
dbc_sqlite_dump(){
+ local dumpfile
+ dumpfile=$1
_dbc_sanity_check dbname sqlite || return 1
- dbc_sqlite_exec_command ".dump"
+ dbc_sqlite_exec_command ".dump" > "$dumpfile"
return $?
}
More information about the Dbconfig-common-changes
mailing list