~jaypipes/drizzle/proto-definitions

« back to all changes in this revision

Viewing changes to drizzled/gen_lex_hash.cc

  • Committer: Jay Pipes
  • Date: 2008-09-25 18:13:26 UTC
  • mfrom: (352.5.30 codestyle)
  • Revision ID: jay@mysql.com-20080925181326-2z7pr377hcvf28qt
Merged in trunk and added additional definition wrappers for proto buffer messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2000-2006 MySQL AB
2
 
 
3
 
   This program is free software; you can redistribute it and/or modify
4
 
   it under the terms of the GNU General Public License as published by
5
 
   the Free Software Foundation; version 2 of the License.
6
 
 
7
 
   This program is distributed in the hope that it will be useful,
8
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 
   GNU General Public License for more details.
11
 
 
12
 
   You should have received a copy of the GNU General Public License
13
 
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
3
 *
 
4
 *  Copyright (C) 2008 Sun Microsystems
 
5
 *
 
6
 *  This program is free software; you can redistribute it and/or modify
 
7
 *  it under the terms of the GNU General Public License as published by
 
8
 *  the Free Software Foundation; version 2 of the License.
 
9
 *
 
10
 *  This program is distributed in the hope that it will be useful,
 
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *  GNU General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU General Public License
 
16
 *  along with this program; if not, write to the Free Software
 
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
18
 */
15
19
 
16
20
/**
17
21
  @file
346
350
         my_progname, DRIZZLE_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE);
347
351
  if (version)
348
352
    return;
349
 
  puts("Copyright (C) 2001 MySQL AB, by VVA and Monty");
 
353
  puts("Copyright (C) 2008 Sun Microsystems, Inc.");
350
354
  puts("This software comes with ABSOLUTELY NO WARRANTY. This is free software,\n\
351
355
and you are welcome to modify and redistribute it under the GPL license\n");
352
356
  puts("This program generates a perfect hashing function for the sql_lex.cc");
446
450
  /* Broken up to indicate that it's not advice to you, gentle reader. */
447
451
  printf("/*\n\n  Do " "not " "edit " "this " "file " "directly!\n\n*/\n");
448
452
 
449
 
  printf("\
450
 
/* Copyright (C) 2001-2004 MySQL AB\n\
451
 
\n\
452
 
   This program is free software; you can redistribute it and/or modify\n\
453
 
   it under the terms of the GNU General Public License as published by\n\
454
 
   the Free Software Foundation; version 2 of the License.\n\
455
 
\n\
456
 
   This program is distributed in the hope that it will be useful,\n\
457
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
458
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\
459
 
   GNU General Public License for more details.\n\
460
 
\n\
461
 
   You should have received a copy of the GNU General Public License\n\
462
 
   along with this program; see the file COPYING. If not, write to the\n\
463
 
   Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston\n\
464
 
   MA  02110-1301  USA. */\n\
465
 
\n\
466
 
");
 
453
  printf("/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*- \n"
 
454
         " *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab: \n"
 
455
         " * \n"
 
456
         " *  Copyright (C) 2008 Sun Microsystems \n"
 
457
         " * \n"
 
458
         " *  This program is free software; you can redistribute it and/or modify \n"
 
459
         " *  it under the terms of the GNU General Public License as published by \n"
 
460
         " *  the Free Software Foundation; version 2 of the License. \n"
 
461
         " * \n"
 
462
         " *  This program is distributed in the hope that it will be useful, \n"
 
463
         " *  but WITHOUT ANY WARRANTY; without even the implied warranty of \n"
 
464
         " *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the \n"
 
465
         " *  GNU General Public License for more details. \n"
 
466
         " * \n"
 
467
         " *  You should have received a copy of the GNU General Public License \n"
 
468
         " *  along with this program; if not, write to the Free Software \n"
 
469
         " *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA \n"
 
470
         " */\n");
467
471
 
468
472
  /* Broken up to indicate that it's not advice to you, gentle reader. */
469
473
  printf("/* Do " "not " "edit " "this " "file!  This is generated by "