~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/mysql_version.h.in

  • Committer: Monty Taylor
  • Date: 2008-07-05 18:10:38 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705181038-0ih0nnamu5qrut0y
Fixed prototypes. Cleaned define a little bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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; either version 2 of the License, or
9
 
 *  (at your option) any later version.
10
 
 *
11
 
 *  This program is distributed in the hope that it will be useful,
12
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 *  GNU General Public License for more details.
15
 
 *
16
 
 *  You should have received a copy of the GNU General Public License
17
 
 *  along with this program; if not, write to the Free Software
18
 
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
 
 */
20
 
 
21
 
/* Version numbers for protocol && drizzled */
22
 
 
23
 
#ifndef _drizzled_version_h
24
 
#define _drizzled_version_h
25
 
 
 
1
/* Copyright Abandoned 1996, 1999, 2001 MySQL AB
 
2
   This file is public domain and comes with NO WARRANTY of any kind */
 
3
 
 
4
/* Version numbers for protocol & mysqld */
 
5
 
 
6
#ifndef _mysql_version_h
 
7
#define _mysql_version_h
 
8
#ifdef _CUSTOMCONFIG_
 
9
#include <custom_conf.h>
 
10
#else
26
11
#define PROTOCOL_VERSION                @PROTOCOL_VERSION@
27
 
#define DRIZZLE_SERVER_VERSION          "@VERSION@"
28
 
#define DRIZZLE_BASE_VERSION            "drizzle-@DRIZZLE_BASE_VERSION@"
29
 
#define DRIZZLE_SERVER_SUFFIX_DEF               "@DRIZZLE_SERVER_SUFFIX@"
 
12
#define MYSQL_SERVER_VERSION            "@VERSION@"
 
13
#define MYSQL_BASE_VERSION              "mysqld-@MYSQL_BASE_VERSION@"
 
14
#define MYSQL_SERVER_SUFFIX_DEF         "@MYSQL_SERVER_SUFFIX@"
30
15
#define FRM_VER                         @DOT_FRM_VERSION@
31
 
#define DRIZZLE_VERSION_ID              @DRIZZLE_VERSION_ID@
32
 
#define DRIZZLE_PORT                    @DRIZZLE_TCP_PORT@
33
 
#define DRIZZLE_PORT_DEFAULT            @DRIZZLE_TCP_PORT_DEFAULT@
34
 
#define DRIZZLE_CONFIG_NAME             "drizzled"
35
 
#define DRIZZLE_COMPILATION_COMMENT     "@COMPILATION_COMMENT@"
 
16
#define MYSQL_VERSION_ID                @MYSQL_VERSION_ID@
 
17
#define MYSQL_PORT                      @MYSQL_TCP_PORT@
 
18
#define MYSQL_PORT_DEFAULT              @MYSQL_TCP_PORT_DEFAULT@
 
19
#define MYSQL_UNIX_ADDR                 "@MYSQL_UNIX_ADDR@"
 
20
#define MYSQL_CONFIG_NAME               "my"
 
21
#define MYSQL_COMPILATION_COMMENT       "@COMPILATION_COMMENT@"
36
22
 
 
23
/* mysqld compile time options */
 
24
#endif /* _CUSTOMCONFIG_ */
37
25
 
38
26
#ifndef LICENSE
39
27
#define LICENSE                         GPL
40
28
#endif /* LICENSE */
41
29
 
42
 
#endif /* _drizzled_version_h */
 
30
#endif /* _mysql_version_h */