packages (MYSQL_5_0): mysql/mysql-microslow_innodb.patch, mysql/mysql-users...

arekm arekm at pld-linux.org
Wed May 20 22:20:01 CEST 2009


Author: arekm                        Date: Wed May 20 20:20:01 2009 GMT
Module: packages                      Tag: MYSQL_5_0
---- Log message:
- up to 5.0.81

---- Files affected:
packages/mysql:
   mysql-microslow_innodb.patch (1.1.2.6 -> 1.1.2.7) , mysql-userstatv2.patch (1.1.2.6 -> 1.1.2.7) , mysql.spec (1.353.2.66 -> 1.353.2.67) , mysql-fixes.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mysql/mysql-microslow_innodb.patch
diff -u packages/mysql/mysql-microslow_innodb.patch:1.1.2.6 packages/mysql/mysql-microslow_innodb.patch:1.1.2.7
--- packages/mysql/mysql-microslow_innodb.patch:1.1.2.6	Thu Mar 12 22:49:07 2009
+++ packages/mysql/mysql-microslow_innodb.patch	Wed May 20 22:19:55 2009
@@ -2349,21 +2349,18 @@
    {
      thd_proc_info(thd, "logging slow query");
  
--    if ((ulong) (thd->start_time - thd->time_after_lock) >
--	thd->variables.long_query_time ||
--        (thd->server_status &
--	  (SERVER_QUERY_NO_INDEX_USED | SERVER_QUERY_NO_GOOD_INDEX_USED)) &&
--        opt_log_queries_not_using_indexes &&
--        /* == SQLCOM_END unless this is a SHOW command */
+-    if ((thd->start_time > thd->time_after_lock && 
+-         (ulong) (thd->start_time - thd->time_after_lock) >
++    if (((thd->start_time > thd->time_after_lock && 
++         (ulong) (thd->start_time - thd->time_after_lock) >=
+ 	thd->variables.long_query_time) ||
+         (thd->server_status &
+ 	  (SERVER_QUERY_NO_INDEX_USED | SERVER_QUERY_NO_GOOD_INDEX_USED)) &&
+         opt_log_queries_not_using_indexes &&
+         /* == SQLCOM_END unless this is a SHOW command */
 -        thd->lex->orig_sql_command == SQLCOM_END)
-+    if (((ulong) (thd->start_timer - thd->timer_after_lock) >=
-+         thd->variables.long_query_time ||
-+         (thd->server_status &
-+              (SERVER_QUERY_NO_INDEX_USED | SERVER_QUERY_NO_GOOD_INDEX_USED)) &&
-+         opt_log_queries_not_using_indexes &&
-+         /* == SQLCOM_END unless this is a SHOW command */
-+         thd->lex->orig_sql_command == SQLCOM_END) &&
-+        thd->examined_row_count >= thd->variables.min_examined_row_limit)
++        thd->lex->orig_sql_command == SQLCOM_END) &&
++	    thd->examined_row_count >= thd->variables.min_examined_row_limit)
      {
        thd_proc_info(thd, "logging slow query");
        thd->status_var.long_query_count++;

================================================================
Index: packages/mysql/mysql-userstatv2.patch
diff -u packages/mysql/mysql-userstatv2.patch:1.1.2.6 packages/mysql/mysql-userstatv2.patch:1.1.2.7
--- packages/mysql/mysql-userstatv2.patch:1.1.2.6	Thu Mar 12 22:49:07 2009
+++ packages/mysql/mysql-userstatv2.patch	Wed May 20 22:19:55 2009
@@ -2271,16 +2271,6 @@
  }
  
  
-@@ -408,6 +497,9 @@
- 
- void THD::change_user(void)
- {
-+  pthread_mutex_lock(&LOCK_status);
-+  add_to_status(&global_status_var, &status_var);
-+  pthread_mutex_unlock(&LOCK_status);
-   cleanup();
-   cleanup_done= 0;
-   init();
 @@ -892,6 +984,33 @@
  }
  #endif

================================================================
Index: packages/mysql/mysql.spec
diff -u packages/mysql/mysql.spec:1.353.2.66 packages/mysql/mysql.spec:1.353.2.67
--- packages/mysql/mysql.spec:1.353.2.66	Thu Mar 12 22:49:40 2009
+++ packages/mysql/mysql.spec	Wed May 20 22:19:55 2009
@@ -26,13 +26,13 @@
 Summary(uk.UTF-8):	MySQL - швидкий SQL-сервер
 Summary(zh_CN.UTF-8):	MySQL数据库服务器
 Name:		mysql
-Version:	5.0.77
-Release:	2
+Version:	5.0.81
+Release:	1
 License:	GPL + MySQL FLOSS Exception
 Group:		Applications/Databases
 #Source0:	ftp://ftp.mysql.com/pub/mysql/src/%{name}-%{version}.tar.gz
 Source0:	http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.0/%{name}-%{version}.tar.gz
-# Source0-md5:	6c30a20c9059daf053a301e927eb1667
+# Source0-md5:	2d35e4980f279c839172a6efdb0f0b15
 #Source0:	http://mysql.he.net/Downloads/MySQL-5.0/%{name}-%{version}.tar.gz
 #Source0:	http://mirror.provenscaling.com/mysql/enterprise/source/5.0/%{name}-%{version}.tar.gz
 Source100:	http://www.sphinxsearch.com/downloads/sphinx-0.9.9-rc1.tar.gz
@@ -83,6 +83,7 @@
 Patch29:	%{name}-errorlog-no-rename.patch
 Patch30:	%{name}-alpha-stack.patch
 Patch31:	%{name}-xtrabackup.patch
+Patch32:	%{name}-fixes.patch
 URL:		http://www.mysql.com/products/database/mysql/community_edition.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -510,6 +511,7 @@
 %patch30 -p1
 %endif
 %{?with_xtrabackup:%patch31 -p1}
+%patch32 -p1
 
 %build
 %{__libtoolize}
@@ -1061,6 +1063,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.353.2.67  2009/05/20 20:19:55  arekm
+- up to 5.0.81
+
 Revision 1.353.2.66  2009/03/12 21:49:40  arekm
 - rel 2; percona patches for .77
 

================================================================
Index: packages/mysql/mysql-fixes.patch
diff -u /dev/null packages/mysql/mysql-fixes.patch:1.1.2.1
--- /dev/null	Wed May 20 22:20:01 2009
+++ packages/mysql/mysql-fixes.patch	Wed May 20 22:19:55 2009
@@ -0,0 +1,11 @@
+--- mysql-5.0.81/sql/ha_innodb.cc.orig	2009-05-20 21:59:21.165842451 +0200
++++ mysql-5.0.81/sql/ha_innodb.cc	2009-05-20 22:08:31.797661582 +0200
+@@ -6660,7 +6756,7 @@
+ 				table->field[10]->store(index->name, strlen(index->name), system_charset_info);
+ 				// fprintf(stderr, " index %s, table %s", index->name, index->table_name);
+ 
+-				if((p = strchr(index->table_name, '/')))
++				if(p = (char *)strchr(index->table_name, '/'))
+ 				{
+ 					strncpy(db_name_raw, index->table_name, p-index->table_name);
+ 					db_name_raw[p-index->table_name] = 0;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql-microslow_innodb.patch?r1=1.1.2.6&r2=1.1.2.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql-userstatv2.patch?r1=1.1.2.6&r2=1.1.2.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql.spec?r1=1.353.2.66&r2=1.353.2.67&f=u



More information about the pld-cvs-commit mailing list