~drizzle-developers/pkg-drizzle/drizzle7-stable.rpm

« back to all changes in this revision

Viewing changes to SOURCES/drizzle7-2011.03.13-user_option.patch

  • Committer: BJ Dierkes
  • Date: 2011-08-01 07:22:47 UTC
  • Revision ID: wdierkes@rackspace.com-20110801072247-tp16pxvgk8e1cn62
adding rpmlint fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- drizzle7-2011.03.13/drizzled/drizzled.cc.orig       2011-03-15 11:20:18.000000000 -0500
 
2
+++ drizzle7-2011.03.13/drizzled/drizzled.cc    2011-07-20 23:50:32.000000000 -0500
 
3
@@ -1475,7 +1475,7 @@
 
4
   global_system_variables.optimizer_prune_level=
 
5
     vm.count("disable-optimizer-prune") ? false : true;
 
6
 
 
7
-  if (vm.count("help") == 0 && vm.count("help-extended") == 0)
 
8
+  if (! vm["help"].as<bool>())
 
9
   {
 
10
     if ((user_info= check_user(drizzled_user)))
 
11
     {