List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:November 1 2010 7:54am
Subject:bzr commit into mysql-trunk-bugfixing branch (tor.didriksen:3308) WL#5625
View as plain text  
#At file:///export/home/didrik/repo/trunk-bugfixing/ based on revid:li-bing.song@stripped

 3308 Tor Didriksen	2010-11-01
      wL#5625: post-push fix, build broken on all DBG/gcc platforms.
     @ client/mysqlbinlog.cc
        Remove unused static function.

    modified:
      client/mysqlbinlog.cc
=== modified file 'client/mysqlbinlog.cc'
--- a/client/mysqlbinlog.cc	2010-10-29 15:57:09 +0000
+++ b/client/mysqlbinlog.cc	2010-11-01 07:53:58 +0000
@@ -632,45 +632,6 @@ static bool shall_skip_database(const ch
 
 
 /**
-  Prints the given event in base64 format.
-
-  The header is printed to the head cache and the body is printed to
-  the body cache of the print_event_info structure.  This allows all
-  base64 events corresponding to the same statement to be joined into
-  one BINLOG statement.
-
-  @param[in] ev Log_event to print.
-  @param[in,out] result_file FILE to which the output will be written.
-  @param[in,out] print_event_info Parameters and context state
-  determining how to print.
-
-  @retval ERROR_STOP An error occurred - the program should terminate.
-  @retval OK_CONTINUE No error, the program should continue.
-*/
-static Exit_status
-write_event_header_and_base64(Log_event *ev, FILE *result_file,
-                              PRINT_EVENT_INFO *print_event_info)
-{
-  IO_CACHE *head= &print_event_info->head_cache;
-  IO_CACHE *body= &print_event_info->body_cache;
-  DBUG_ENTER("write_event_header_and_base64");
-
-  /* Write header and base64 output to cache */
-  ev->print_header(head, print_event_info, FALSE);
-  ev->print_base64(body, print_event_info, FALSE);
-
-  /* Read data from cache and write to result file */
-  if (copy_event_cache_to_file_and_reinit(head, result_file) ||
-      copy_event_cache_to_file_and_reinit(body, result_file))
-  {
-    error("Error writing event to file.");
-    DBUG_RETURN(ERROR_STOP);
-  }
-  DBUG_RETURN(OK_CONTINUE);
-}
-
-
-/**
   Print the given event, and either delete it or delegate the deletion
   to someone else.
 


Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20101101075358-1nsaf1zhr1i0wmmj.bundle
Thread
bzr commit into mysql-trunk-bugfixing branch (tor.didriksen:3308) WL#5625Tor Didriksen1 Nov