~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_messnc.c

  • Committer: Monty Taylor
  • Date: 2008-07-09 19:33:54 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 124.
  • Revision ID: monty@inaugust.com-20080709193354-vi0pemwf40galnll
First step of sql-common removal (the cheap way) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include "mysys_priv.h"
17
17
 
18
 
void my_message_no_curses(uint32_t error __attribute__((unused)),
 
18
void my_message_no_curses(uint error __attribute__((unused)),
19
19
                         const char *str, myf MyFlags)
20
20
{
 
21
  DBUG_ENTER("my_message_no_curses");
 
22
  DBUG_PRINT("enter",("message: %s",str));
21
23
  (void) fflush(stdout);
22
24
  if (MyFlags & ME_BELL)
23
25
    (void) fputc('\007',stderr);                                /* Bell */
28
30
  (void)fputs(str,stderr);
29
31
  (void)fputc('\n',stderr);
30
32
  (void)fflush(stderr);
31
 
  return;
 
33
  DBUG_VOID_RETURN;
32
34
}