mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Added GIS extension
This commit is contained in:
@ -198,13 +198,18 @@ public:
|
||||
|
||||
class Key :public Sql_alloc {
|
||||
public:
|
||||
enum Keytype { PRIMARY, UNIQUE, MULTIPLE, FULLTEXT };
|
||||
enum Keytype { PRIMARY, UNIQUE, MULTIPLE, FULLTEXT, SPATIAL };
|
||||
enum Keytype type;
|
||||
enum ha_key_alg alg; // +BAR
|
||||
List<key_part_spec> columns;
|
||||
const char *Name;
|
||||
|
||||
Key(enum Keytype type_par,const char *name_arg,List<key_part_spec> &cols)
|
||||
:type(type_par), columns(cols),Name(name_arg) {}
|
||||
|
||||
Key(enum Keytype type_par, enum ha_key_alg alg_par, const char *name_arg,List<key_part_spec> &cols)
|
||||
:type(type_par),alg(alg_par), columns(cols),Name(name_arg){} //+BAR
|
||||
|
||||
~Key() {}
|
||||
const char *name() { return Name; }
|
||||
};
|
||||
|
Reference in New Issue
Block a user