~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to dbug/example2.c

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
int debug = 0;
 
2
 
 
3
main (argc, argv)
 
4
int argc;
 
5
char *argv[];
 
6
{
 
7
    /* printf ("argv = %x\n", argv) */
 
8
    if (debug) printf ("argv[0] = %d\n", argv[0]);
 
9
    /*
 
10
     *  Rest of program
 
11
     */
 
12
#ifdef DEBUG
 
13
    printf ("== done ==\n");
 
14
#endif
 
15
}