diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-02-28 09:43:17 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-02-28 09:45:29 +0100 |
commit | f89ba3fb6dc196d7977a002ca3b67b64fb20d974 (patch) | |
tree | 7044b9665426aedab6ddc94e6d57d0f2adfa6587 /support/schema/reloadtestdb.sh | |
parent | c638a89314422ab98e91c585e24267bf8a1f79c3 (diff) | |
download | aur-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>
Diffstat (limited to 'support/schema/reloadtestdb.sh')
-rwxr-xr-x | support/schema/reloadtestdb.sh | 6 |
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..." |