List:Commits« Previous MessageNext Message »
From:holyfoot Date:August 1 2006 12:18pm
Subject:bk commit into 4.1 tree (holyfoot:1.2532) BUG#13717
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of hf. When hf 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, 2006-08-01 15:18:21+05:00, holyfoot@stripped +1 -0
  bug #13717 embedded library dumps warnings on STDERR directly
  
  Here i just disabled STDERR warnings in embedded server
  Later we should get more defined about logs in the embedded server

  sql/log.cc@stripped, 2006-08-01 15:18:18+05:00, holyfoot@stripped +7 -0
    Log messages muted in embedded server

# 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:	holyfoot
# Host:	deer.(none)
# Root:	/home/hf/work/mysql-4.1.13717

--- 1.164/sql/log.cc	2006-08-01 15:18:26 +05:00
+++ 1.165/sql/log.cc	2006-08-01 15:18:26 +05:00
@@ -2321,6 +2321,12 @@
     void
 */
 
+#ifdef EMBEDDED_LIBRARY
+void vprint_msg_to_log(enum loglevel level __attribute__((unused)),
+                       const char *format __attribute__((unused)),
+                       va_list argsi __attribute__((unused)))
+{}
+#else /*!EMBEDDED_LIBRARY*/
 void vprint_msg_to_log(enum loglevel level, const char *format, va_list args)
 {
   char   buff[1024];
@@ -2336,6 +2342,7 @@
 
   DBUG_VOID_RETURN;
 }
+#endif /*EMBEDDED_LIBRARY*/
 
 
 void sql_print_error(const char *format, ...) 
Thread
bk commit into 4.1 tree (holyfoot:1.2532) BUG#13717holyfoot1 Aug