List:Internals« Previous MessageNext Message »
From:tomas Date:January 18 2006 10:50am
Subject:bk commit into 5.1 tree (tomas:1.1965)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1965 06/01/18 10:50:03 tomas@stripped +1 -0
  do not log local queries run for ndb sys tables

  sql/ha_ndbcluster.cc
    1.237 06/01/18 10:49:56 tomas@stripped +3 -0
    do not log local queries run for ndb sys tables

# 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:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/wl2325-alcatel

--- 1.236/sql/ha_ndbcluster.cc	2005-10-31 19:47:30 +01:00
+++ 1.237/sql/ha_ndbcluster.cc	2006-01-18 10:49:56 +01:00
@@ -8744,12 +8744,14 @@
   ulong save_query_length= thd->query_length;
   char *save_query= thd->query;
   ulong save_thread_id= thd->variables.pseudo_thread_id;
+  ulonglong save_thd_options= thd->options;
   NET save_net= thd->net;
 
   bzero((char*) &thd->net, sizeof(NET));
   thd->query_length= end - buf;
   thd->query= buf;
   thd->variables.pseudo_thread_id= thread_id;
+  thd->options&= ~OPTION_BIN_LOG;
   DBUG_PRINT("query", ("%s", thd->query));
 
   mysql_parse(thd, thd->query, thd->query_length);
@@ -8761,6 +8763,7 @@
                     thd->net.report_error, thd->query_error);
   }
 
+  thd->options= save_thd_options;
   thd->query_length= save_query_length;
   thd->query= save_query;
   thd->variables.pseudo_thread_id= save_thread_id;
Thread
bk commit into 5.1 tree (tomas:1.1965)tomas18 Jan