# HG changeset patch # User Daniele Nicolodi # Date 1321888216 -3600 # Node ID 54cde8e2da5b283b6413aa6f96b7d95dae30316e # Parent 4f5fc5c72aeed1c426710de9e43d4ea45add523c Add script to generate the database dump used in tests. diff -r 4f5fc5c72aee -r 54cde8e2da5b src/ltpdarepo/sql/dump.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ltpdarepo/sql/dump.sh Mon Nov 21 16:10:16 2011 +0100 @@ -0,0 +1,8 @@ +#!/usr/bin/sh + +MYSQLDUMP="mysqldump5 -u root" + +$MYSQLDUMP --skip-comments --databases mysql --tables \ + columns_priv db host proc procs_priv tables_priv user + +$MYSQLDUMP --skip-comments --databases ltpda db1