packages: mysql-workbench/mysql-workbench.spec, mysql-workbench/log_slow_qu...

glen glen at pld-linux.org
Fri May 11 19:41:37 CEST 2012


Author: glen                         Date: Fri May 11 17:41:37 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- alternative slow log configration param

---- Files affected:
packages/mysql-workbench:
   mysql-workbench.spec (1.43 -> 1.44) , log_slow_queries.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mysql-workbench/mysql-workbench.spec
diff -u packages/mysql-workbench/mysql-workbench.spec:1.43 packages/mysql-workbench/mysql-workbench.spec:1.44
--- packages/mysql-workbench/mysql-workbench.spec:1.43	Fri May 11 18:43:10 2012
+++ packages/mysql-workbench/mysql-workbench.spec	Fri May 11 19:41:32 2012
@@ -16,6 +16,7 @@
 Patch4:		glib.patch
 Patch5:		pld-profile.patch
 Patch6:		get_local_ip_list.patch
+Patch7:		log_slow_queries.patch
 URL:		http://wb.mysql.com/
 BuildRequires:	OpenGL-devel
 BuildRequires:	autoconf
@@ -87,6 +88,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 cp -p '%{SOURCE1}' res/mysql.profiles
 
 %build
@@ -143,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2012/05/11 17:41:32  glen
+- alternative slow log configration param
+
 Revision 1.43  2012/05/11 16:43:10  glen
 - fix ipconfig callout
 

================================================================
Index: packages/mysql-workbench/log_slow_queries.patch
diff -u /dev/null packages/mysql-workbench/log_slow_queries.patch:1.1
--- /dev/null	Fri May 11 19:41:37 2012
+++ packages/mysql-workbench/log_slow_queries.patch	Fri May 11 19:41:32 2012
@@ -0,0 +1,11 @@
+--- mysql-workbench-gpl-5.2.38-src/./plugins/wb.admin/backend/wb_admin_control.py~	2012-02-21 18:53:37.000000000 +0200
++++ mysql-workbench-gpl-5.2.38-src/./plugins/wb.admin/backend/wb_admin_control.py	2012-05-11 20:03:42.732364945 +0300
+@@ -675,7 +675,7 @@
+                 general_log_file_path = opts[config_section].get('log', '').strip(' "') if opts.has_key(config_section) else ''
+                 self.server_profile.general_log_file_path = general_log_file_path or os.path.join(datadir, hostname + '.log')
+                 
+-                slow_query_log_file = opts[config_section].get('log-slow-queries', '').strip(' "') if opts.has_key(config_section) else ''
++                slow_query_log_file = (opts[config_section].get('log-slow-queries', '') or opts[config_section].get('log_slow_queries', '')).strip(' "') if opts.has_key(config_section) else ''
+                 self.server_profile.slow_log_file_path = slow_query_log_file or os.path.join(datadir, hostname + '.slow')
+                 
+                 error_log_file_path = opts[config_section].get('log-error', '').strip(' "') if opts.has_key(config_section) else ''
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/mysql-workbench/mysql-workbench.spec?r1=1.43&r2=1.44



More information about the pld-cvs-commit mailing list