summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorChuck Bell <chuck.bell@oracle.com>2011-07-21 14:37:06 -0400
committerChuck Bell <chuck.bell@oracle.com>2011-07-21 14:37:06 -0400
commit3ee5d51dafec74e0b0d8c6dfc9aa5ee95914345b (patch)
tree7f8e9e2f59c03beb4a6c54f42ef262adcc88ad16 /client
parent2e84ac355316be2af211e2baacbe786f709a130f (diff)
downloadmariadb-git-3ee5d51dafec74e0b0d8c6dfc9aa5ee95914345b.tar.gz
WL#5710 : enable and disable plugins
Added additional search paths for finding tools.
Diffstat (limited to 'client')
-rw-r--r--client/mysql_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysql_plugin.c b/client/mysql_plugin.c
index 16ed3292c18..b59a4c6f219 100644
--- a/client/mysql_plugin.c
+++ b/client/mysql_plugin.c
@@ -924,6 +924,7 @@ static int find_tool(const char *tool_name, char *tool_path)
const char *paths[]= {
opt_basedir, "/usr", "/usr/local/mysql", "/usr/sbin", "/usr/share",
+ "/extra", "/extra/debug", "/extra/release"
};
for (i= 0; i < (int)array_elements(paths); i++)
{