summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-02-28 09:43:17 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-02-28 09:45:29 +0100
commitf89ba3fb6dc196d7977a002ca3b67b64fb20d974 (patch)
tree7044b9665426aedab6ddc94e6d57d0f2adfa6587
parentc638a89314422ab98e91c585e24267bf8a1f79c3 (diff)
downloadaur-f89ba3fb6dc196d7977a002ca3b67b64fb20d974.tar.gz
aur-f89ba3fb6dc196d7977a002ca3b67b64fb20d974.tar.xz
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>
-rwxr-xr-xsupport/schema/reloadtestdb.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/support/schema/reloadtestdb.sh b/support/schema/reloadtestdb.sh
index 53ddf867..1cf392a2 100755
--- a/support/schema/reloadtestdb.sh
+++ b/support/schema/reloadtestdb.sh
@@ -6,13 +6,7 @@ if [ `basename $mydir` != "schema" ]; then
exit
fi
-echo "dropping old database..."
-yes | mysqladmin -uaur -paur drop AUR
-
echo "recreating database..."
-mysqladmin -uaur -paur create AUR
-
-echo "recreating tables..."
mysql -uaur -paur AUR < ./aur-schema.sql
echo "loading dummy-data..."