1
Author: Clint Byrum <clint@fewbar.com>
2
Bug: https://launchpad.net/bugs/740583
3
Forwarded: https://code.launchpad.net/~clint-fewbar/drizzle/elliot-fix-user-option/+merge/54446
4
Description: Fixes inoperable --user option.
5
Applied-Upstream: http://bazaar.launchpad.net/~drizzle-developers/drizzle/elliot/revision/2241
7
=== modified file 'drizzled/drizzled.cc'
8
Index: natty-no-run-as-root/drizzled/drizzled.cc
9
===================================================================
10
--- natty-no-run-as-root.orig/drizzled/drizzled.cc 2011-04-10 12:18:05.433791995 -0700
11
+++ natty-no-run-as-root/drizzled/drizzled.cc 2011-04-10 12:18:24.402552367 -0700
13
global_system_variables.optimizer_prune_level=
14
vm.count("disable-optimizer-prune") ? false : true;
16
- if (vm.count("help") == 0 && vm.count("help-extended") == 0)
17
+ if (! vm["help"].as<bool>())
19
if ((user_info= check_user(drizzled_user)))