MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:monty Date:August 14 2007 12:36pm
Subject:bk commit into 5.1 tree (monty:1.2562)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of monty. When monty 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@stripped, 2007-08-14 15:36:39+03:00, monty@stripped +1 -0
  Move function to be visible in embedded server

  sql/log_event.h@stripped, 2007-08-14 15:36:37+03:00, monty@stripped +11 -13
    Move function to be visible in embedded server

diff -Nrup a/sql/log_event.h b/sql/log_event.h
--- a/sql/log_event.h	2007-08-14 15:20:02 +03:00
+++ b/sql/log_event.h	2007-08-14 15:36:37 +03:00
@@ -774,6 +774,17 @@ public:
   { return 0; }
   virtual bool write_data_body(IO_CACHE* file __attribute__((unused)))
   { return 0; }
+  inline ulong get_time()
+  {
+    THD *tmp_thd;
+    if (when)
+      return (ulong) when;
+    if (thd)
+      return thd->start_time;
+    if ((tmp_thd= current_thd))
+      return tmp_thd->start_time;
+    return my_time(0);
+  }
 #endif
   virtual Log_event_type get_type_code() = 0;
   virtual bool is_valid() const = 0;
@@ -925,19 +936,6 @@ protected:
      non-zero. The caller shall decrease the counter by one.
    */
   virtual enum_skip_reason do_shall_skip(RELAY_LOG_INFO *rli);
-
-  inline ulong get_time()
-  {
-    THD *tmp_thd;
-    if (when)
-      return (ulong) when;
-    if (thd)
-      return thd->start_time;
-    if ((tmp_thd= current_thd))
-      return tmp_thd->start_time;
-    return my_time(0);
-  }
-
 #endif
 };
 
Thread
bk commit into 5.1 tree (monty:1.2562)monty14 Aug