Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
39f69a21
Commit
39f69a21
authored
Jun 01, 2004
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.ftr
parents
d01c7b18
15ea09b7
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
63 additions
and
2 deletions
+63
-2
acconfig.h
acconfig.h
+9
-0
configure.in
configure.in
+25
-0
include/my_global.h
include/my_global.h
+4
-2
myisam/mi_open.c
myisam/mi_open.c
+1
-0
mysql-test/include/have_geometry.inc
mysql-test/include/have_geometry.inc
+4
-0
mysql-test/r/have_geometry.require
mysql-test/r/have_geometry.require
+2
-0
mysql-test/t/gis-rtree.test
mysql-test/t/gis-rtree.test
+2
-0
mysql-test/t/gis.test
mysql-test/t/gis.test
+2
-0
sql/mysql_priv.h
sql/mysql_priv.h
+1
-0
sql/mysqld.cc
sql/mysqld.cc
+11
-0
sql/set_var.cc
sql/set_var.cc
+2
-0
No files found.
acconfig.h
View file @
39f69a21
...
@@ -197,6 +197,15 @@
...
@@ -197,6 +197,15 @@
/* If we want to have query cache */
/* If we want to have query cache */
#undef HAVE_QUERY_CACHE
#undef HAVE_QUERY_CACHE
/* Spatial extentions */
#undef HAVE_SPATIAL
/* RTree keys */
#undef HAVE_RTREE_KEYS
/* Access checks in embedded library */
#undef HAVE_EMBEDDED_PRIVILEGE_CONTROL
/* Solaris define gethostbyaddr_r with 7 arguments. glibc2 defines
/* Solaris define gethostbyaddr_r with 7 arguments. glibc2 defines
this with 8 arguments */
this with 8 arguments */
#undef HAVE_SOLARIS_STYLE_GETHOST
#undef HAVE_SOLARIS_STYLE_GETHOST
...
...
configure.in
View file @
39f69a21
...
@@ -2132,6 +2132,31 @@ then
...
@@ -2132,6 +2132,31 @@ then
AC_DEFINE
(
HAVE_QUERY_CACHE
)
AC_DEFINE
(
HAVE_QUERY_CACHE
)
fi
fi
AC_ARG_WITH
(
geometry,
[
--without-geometry
Do not build geometry-related parts.],
[
with_geometry
=
$withval
]
,
[
with_geometry
=
yes
]
)
if
test
"
$with_geometry
"
=
"yes"
then
AC_DEFINE
(
HAVE_SPATIAL
)
AC_DEFINE
(
HAVE_RTREE_KEYS
)
fi
AC_ARG_WITH
(
embedded_privilege_control,
[
--with-embedded-privilege-control
Build parts to check user
's privileges.
Only affects embedded library.],
[with_embedded_privilege_control=$withval],
[with_embedded_privilege_control=no]
)
if test "$with_embedded_privilege_control" = "yes"
then
AC_DEFINE(HAVE_EMBEDDED_PRIVILEGE_CONTROL)
fi
AC_ARG_WITH(extra-tools,
AC_ARG_WITH(extra-tools,
[ --without-extra-tools Skip building utilites in the tools directory.],
[ --without-extra-tools Skip building utilites in the tools directory.],
[with_tools=$withval],
[with_tools=$withval],
...
...
include/my_global.h
View file @
39f69a21
...
@@ -1194,6 +1194,8 @@ do { doubleget_union _tmp; \
...
@@ -1194,6 +1194,8 @@ do { doubleget_union _tmp; \
#define MYSQL_UNIVERSAL_CLIENT_CHARSET MYSQL_DEFAULT_CHARSET_NAME
#define MYSQL_UNIVERSAL_CLIENT_CHARSET MYSQL_DEFAULT_CHARSET_NAME
#endif
#endif
#define HAVE_SPATIAL
#if defined(EMBEDDED_LIBRARY) && !defined(HAVE_EMBEDDED_PRIVILEGE_CONTROL)
#define HAVE_RTREE_KEYS
#define NO_EMBEDDED_ACCESS_CHECKS
#endif
#endif
/* my_global_h */
#endif
/* my_global_h */
myisam/mi_open.c
View file @
39f69a21
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include "sp_defs.h"
#include "sp_defs.h"
#include "rt_index.h"
#include "rt_index.h"
#include <m_ctype.h>
#include <m_ctype.h>
#include <assert.h>
#if defined(MSDOS) || defined(__WIN__)
#if defined(MSDOS) || defined(__WIN__)
#ifdef __WIN__
#ifdef __WIN__
...
...
mysql-test/include/have_geometry.inc
0 → 100644
View file @
39f69a21
--
require
r
/
have_geometry
.
require
disable_query_log
;
show
variables
like
"have_geometry"
;
enable_query_log
;
mysql-test/r/have_geometry.require
0 → 100644
View file @
39f69a21
Variable_name Value
have_geometry YES
mysql-test/t/gis-rtree.test
View file @
39f69a21
--
source
include
/
have_geometry
.
inc
#
#
# test of rtree (using with spatial data)
# test of rtree (using with spatial data)
#
#
...
...
mysql-test/t/gis.test
View file @
39f69a21
--
source
include
/
have_geometry
.
inc
#
#
# Spatial objects
# Spatial objects
#
#
...
...
sql/mysql_priv.h
View file @
39f69a21
...
@@ -918,6 +918,7 @@ extern struct my_option my_long_options[];
...
@@ -918,6 +918,7 @@ extern struct my_option my_long_options[];
extern
SHOW_COMP_OPTION
have_isam
,
have_innodb
,
have_berkeley_db
,
have_example_db
;
extern
SHOW_COMP_OPTION
have_isam
,
have_innodb
,
have_berkeley_db
,
have_example_db
;
extern
SHOW_COMP_OPTION
have_raid
,
have_openssl
,
have_symlink
;
extern
SHOW_COMP_OPTION
have_raid
,
have_openssl
,
have_symlink
;
extern
SHOW_COMP_OPTION
have_query_cache
,
have_berkeley_db
,
have_innodb
;
extern
SHOW_COMP_OPTION
have_query_cache
,
have_berkeley_db
,
have_innodb
;
extern
SHOW_COMP_OPTION
have_geometry
,
have_rtree_keys
;
extern
SHOW_COMP_OPTION
have_crypt
;
extern
SHOW_COMP_OPTION
have_crypt
;
extern
SHOW_COMP_OPTION
have_compress
;
extern
SHOW_COMP_OPTION
have_compress
;
...
...
sql/mysqld.cc
View file @
39f69a21
...
@@ -378,6 +378,7 @@ CHARSET_INFO *national_charset_info, *table_alias_charset;
...
@@ -378,6 +378,7 @@ CHARSET_INFO *national_charset_info, *table_alias_charset;
SHOW_COMP_OPTION
have_berkeley_db
,
have_innodb
,
have_isam
,
SHOW_COMP_OPTION
have_berkeley_db
,
have_innodb
,
have_isam
,
have_ndbcluster
,
have_example_db
;
have_ndbcluster
,
have_example_db
;
SHOW_COMP_OPTION
have_raid
,
have_openssl
,
have_symlink
,
have_query_cache
;
SHOW_COMP_OPTION
have_raid
,
have_openssl
,
have_symlink
,
have_query_cache
;
SHOW_COMP_OPTION
have_geometry
,
have_rtree_keys
;
SHOW_COMP_OPTION
have_crypt
,
have_compress
;
SHOW_COMP_OPTION
have_crypt
,
have_compress
;
/* Thread specific variables */
/* Thread specific variables */
...
@@ -5362,6 +5363,16 @@ static void mysql_init_variables(void)
...
@@ -5362,6 +5363,16 @@ static void mysql_init_variables(void)
#else
#else
have_query_cache
=
SHOW_OPTION_NO
;
have_query_cache
=
SHOW_OPTION_NO
;
#endif
#endif
#ifdef HAVE_SPATIAL
have_geometry
=
SHOW_OPTION_YES
;
#else
have_geometry
=
SHOW_OPTION_NO
;
#endif
#ifdef HAVE_RTREE_KEYS
have_rtree_keys
=
SHOW_OPTION_YES
;
#else
have_rtree_keys
=
SHOW_OPTION_NO
;
#endif
#ifdef HAVE_CRYPT
#ifdef HAVE_CRYPT
have_crypt
=
SHOW_OPTION_YES
;
have_crypt
=
SHOW_OPTION_YES
;
#else
#else
...
...
sql/set_var.cc
View file @
39f69a21
...
@@ -643,10 +643,12 @@ struct show_var_st init_vars[]= {
...
@@ -643,10 +643,12 @@ struct show_var_st init_vars[]= {
{
"have_crypt"
,
(
char
*
)
&
have_crypt
,
SHOW_HAVE
},
{
"have_crypt"
,
(
char
*
)
&
have_crypt
,
SHOW_HAVE
},
{
"have_innodb"
,
(
char
*
)
&
have_innodb
,
SHOW_HAVE
},
{
"have_innodb"
,
(
char
*
)
&
have_innodb
,
SHOW_HAVE
},
{
"have_isam"
,
(
char
*
)
&
have_isam
,
SHOW_HAVE
},
{
"have_isam"
,
(
char
*
)
&
have_isam
,
SHOW_HAVE
},
{
"have_geometry"
,
(
char
*
)
&
have_geometry
,
SHOW_HAVE
},
{
"have_ndbcluster"
,
(
char
*
)
&
have_ndbcluster
,
SHOW_HAVE
},
{
"have_ndbcluster"
,
(
char
*
)
&
have_ndbcluster
,
SHOW_HAVE
},
{
"have_openssl"
,
(
char
*
)
&
have_openssl
,
SHOW_HAVE
},
{
"have_openssl"
,
(
char
*
)
&
have_openssl
,
SHOW_HAVE
},
{
"have_query_cache"
,
(
char
*
)
&
have_query_cache
,
SHOW_HAVE
},
{
"have_query_cache"
,
(
char
*
)
&
have_query_cache
,
SHOW_HAVE
},
{
"have_raid"
,
(
char
*
)
&
have_raid
,
SHOW_HAVE
},
{
"have_raid"
,
(
char
*
)
&
have_raid
,
SHOW_HAVE
},
{
"have_rtree_keys"
,
(
char
*
)
&
have_rtree_keys
,
SHOW_HAVE
},
{
"have_symlink"
,
(
char
*
)
&
have_symlink
,
SHOW_HAVE
},
{
"have_symlink"
,
(
char
*
)
&
have_symlink
,
SHOW_HAVE
},
{
"init_connect"
,
(
char
*
)
&
sys_init_connect
,
SHOW_SYS
},
{
"init_connect"
,
(
char
*
)
&
sys_init_connect
,
SHOW_SYS
},
{
"init_file"
,
(
char
*
)
&
opt_init_file
,
SHOW_CHAR_PTR
},
{
"init_file"
,
(
char
*
)
&
opt_init_file
,
SHOW_CHAR_PTR
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment