Module: appdb Branch: master Commit: d7bcdc23ec12d5a36a0341875020aaa317eb56dd URL: http://source.winehq.org/git/appdb.git/?a=commit;h=d7bcdc23ec12d5a36a0341875...
Author: Alexander Nicolaysen Sørnes alex@thehandofagony.com Date: Mon Jul 13 16:18:28 2009 +0200
create_tables: Fix MySQL commands for when the apidb DB is not present
---
tables/create_tables | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tables/create_tables b/tables/create_tables index d41e1bd..e7d53aa 100755 --- a/tables/create_tables +++ b/tables/create_tables @@ -5,7 +5,7 @@ echo NOTE: It is ok for this to fail if the user already exists echo there does not appear to be a way to create a user only echo if they do not exist so we have to live with a potential echo error after we try. -mysql -p -u root apidb < create_user.sql +mysql -p -u root < create_user.sql
echo Create the apidb database, and tables cat create_apidb_base.sql appdb_tables.sql \ @@ -13,4 +13,4 @@ cat create_apidb_base.sql appdb_tables.sql \ user_privs.sql app_category.sql \ maintainers.sql buglinks.sql monitors.sql \ error_log.sql distributions.sql testResults.sql \ - | mysql -p -u root apidb + | mysql -p -u root