[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/krecipes/src
From:       Unai Garro <Unai.Garro () ee ! ed ! ac ! uk>
Date:       2003-09-30 23:36:58
[Download RAW message or body]

CVS commit by uga: 

Don't try to setup mysql permissions when using SQLite, even if MySQL is installed


  M +4 -0      krecipesview.cpp   1.79


--- kdenonbeta/krecipes/src/krecipesview.cpp  #1.78:1.79
@@ -463,4 +463,7 @@ void KrecipesView::setupUserPermissions(
 {
 #if HAVE_MYSQL
+
+if (dbtype=="MySQL")
+{
 MySQLRecipeDB *db;
 
@@ -478,4 +481,5 @@ db->givePermissions(dbName,newUser,newPa
 
 delete db; //it closes the db automatically
+}
 #endif // HAVE_MYSQL
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic