Remove database recreation code from "support/schema/reloadtestdb.sh".

Database is being dropped and recreated in the schema, so there's no
need to do this in "reloadtestdb.sh" as well.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-02-28 09:43:17 +01:00
parent c638a89314
commit f89ba3fb6d

View file

@ -6,13 +6,7 @@ if [ `basename $mydir` != "schema" ]; then
exit exit
fi fi
echo "dropping old database..."
yes | mysqladmin -uaur -paur drop AUR
echo "recreating database..." echo "recreating database..."
mysqladmin -uaur -paur create AUR
echo "recreating tables..."
mysql -uaur -paur AUR < ./aur-schema.sql mysql -uaur -paur AUR < ./aur-schema.sql
echo "loading dummy-data..." echo "loading dummy-data..."