List:Internals« Previous MessageNext Message »
From:sasha Date:July 28 2001 5:46pm
Subject:bk commit into 3.23 tree
View as plain text  
Below is the list of changes that have just been commited into a local
3.23. repository of sasha. When sasha does a push, they will be
propogaged to the main repository and within 24 hours after the push into
the public repository. For information on how to access
the public repository see
http://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet@stripped, 2001-07-28 11:46:22-06:00, sasha@stripped
  do not log stray error codes in Query_log_event

  sql/log_event.h
    1.42 01/07/28 11:46:13 sasha@stripped +3 -0
    do not log stray error codes

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	sasha
# Host:	mysql.sashanet.com
# Root:	/home/sasha/src/bk/mysql

--- 1.41/sql/log_event.h	Tue Apr 24 17:39:25 2001
+++ 1.42/sql/log_event.h	Sat Jul 28 11:46:13 2001
@@ -145,6 +145,9 @@
     time(&end_time);
     exec_time = (ulong) (end_time  - thd->start_time);
     db_len = (db) ? (uint32) strlen(db) : 0;
+    // do not log stray system errors such as EE_WRITE
+    if (error_code < ERRMOD)
+      error_code = 0; 
   }
 #endif
 
Thread
bk commit into 3.23 treesasha28 Jul