MySQL 8.0.29
Source Code Documentation
sp_defs.h
Go to the documentation of this file.
1/* Copyright (c) 2002, 2021, Oracle and/or its affiliates.
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, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is also distributed with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have included with MySQL.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License, version 2.0, for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22
23#ifndef _SP_DEFS_H
24#define _SP_DEFS_H
25
26/**
27 @file storage/myisam/sp_defs.h
28*/
29
30#define SPDIMS 2
31#define SPTYPE HA_KEYTYPE_DOUBLE
32#define SPLEN 8
33
34enum wkbType {
42};
43
45 wkbXDR = 0, /* Big Endian */
46 wkbNDR = 1 /* Little Endian */
47};
48
50 my_off_t filepos);
51
52#endif /* _SP_DEFS_H */
ulonglong my_off_t
Definition: my_inttypes.h:71
unsigned char uchar
Definition: my_inttypes.h:51
Log info(cout, "NOTE")
required string key
Definition: replication_asynchronous_connection_failover.proto:59
uint sp_make_key(MI_INFO *info, uint keynr, uchar *key, const uchar *record, my_off_t filepos)
Definition: sp_key.cc:46
wkbByteOrder
Definition: sp_defs.h:44
@ wkbXDR
Definition: sp_defs.h:45
@ wkbNDR
Definition: sp_defs.h:46
wkbType
Definition: sp_defs.h:34
@ wkbLineString
Definition: sp_defs.h:36
@ wkbPolygon
Definition: sp_defs.h:37
@ wkbMultiLineString
Definition: sp_defs.h:39
@ wkbPoint
Definition: sp_defs.h:35
@ wkbGeometryCollection
Definition: sp_defs.h:41
@ wkbMultiPolygon
Definition: sp_defs.h:40
@ wkbMultiPoint
Definition: sp_defs.h:38
Definition: myisamdef.h:251
Definition: mi_test3.cc:54
unsigned int uint
Definition: uca-dump.cc:29