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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c2557f37
Commit
c2557f37
authored
Sep 06, 2013
by
andrew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partial fix for lp bug 1221722
parent
86984d76
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
26 deletions
+17
-26
storage/oqgraph/Judy/aclocal.m4
storage/oqgraph/Judy/aclocal.m4
+5
-23
storage/oqgraph/ha_oqgraph.cc
storage/oqgraph/ha_oqgraph.cc
+12
-3
No files found.
storage/oqgraph/Judy/aclocal.m4
View file @
c2557f37
...
@@ -2526,17 +2526,6 @@ freebsd* | dragonfly*)
...
@@ -2526,17 +2526,6 @@ freebsd* | dragonfly*)
esac
esac
;;
;;
gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='
${
libname
}${
release
}${
shared_ext
}$
versuffix
${
libname
}${
release
}${
shared_ext
}${
major
}
${
libname
}${
shared_ext
}
'
soname_spec='
${
libname
}${
release
}${
shared_ext
}$
major
'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
;;
haiku*)
haiku*)
version_type=linux # correct to gnu/linux during the next big refactor
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_lib_prefix=no
...
@@ -2653,7 +2642,7 @@ linux*oldld* | linux*aout* | linux*coff*)
...
@@ -2653,7 +2642,7 @@ linux*oldld* | linux*aout* | linux*coff*)
;;
;;
# This must be glibc/ELF.
# This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu
| gnu*
)
version_type=linux # correct to gnu/linux during the next big refactor
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_lib_prefix=no
need_version=no
need_version=no
...
@@ -3269,10 +3258,6 @@ freebsd* | dragonfly*)
...
@@ -3269,10 +3258,6 @@ freebsd* | dragonfly*)
fi
fi
;;
;;
gnu*)
lt_cv_deplibs_check_method=pass_all
;;
haiku*)
haiku*)
lt_cv_deplibs_check_method=pass_all
lt_cv_deplibs_check_method=pass_all
;;
;;
...
@@ -3311,7 +3296,7 @@ irix5* | irix6* | nonstopux*)
...
@@ -3311,7 +3296,7 @@ irix5* | irix6* | nonstopux*)
;;
;;
#
This
must
be
glibc
/
ELF
.
#
This
must
be
glibc
/
ELF
.
linux
*
|
k
*
bsd
*-
gnu
|
kopensolaris
*-
gnu
)
linux
*
|
k
*
bsd
*-
gnu
|
kopensolaris
*-
gnu
|
gnu
*
)
lt_cv_deplibs_check_method
=
pass_all
lt_cv_deplibs_check_method
=
pass_all
;;
;;
...
@@ -4063,7 +4048,7 @@ m4_if([$1], [CXX], [
...
@@ -4063,7 +4048,7 @@ m4_if([$1], [CXX], [
;;
;;
esac
esac
;;
;;
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu
| gnu*
)
case $cc_basename in
case $cc_basename in
KCC*)
KCC*)
# KAI C++ Compiler
# KAI C++ Compiler
...
@@ -4362,7 +4347,7 @@ m4_if([$1], [CXX], [
...
@@ -4362,7 +4347,7 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
;;
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu
| gnu*
)
case $cc_basename in
case $cc_basename in
# old Intel for x86_64 which still supported -KPIC.
# old Intel for x86_64 which still supported -KPIC.
ecc*)
ecc*)
...
@@ -6251,9 +6236,6 @@ if test "$_lt_caught_CXX_error" != yes; then
...
@@ -6251,9 +6236,6 @@ if test "$_lt_caught_CXX_error" != yes; then
_LT_TAGVAR(ld_shlibs, $1)=yes
_LT_TAGVAR(ld_shlibs, $1)=yes
;;
;;
gnu*)
;;
haiku*)
haiku*)
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
_LT_TAGVAR(link_all_deplibs, $1)=yes
_LT_TAGVAR(link_all_deplibs, $1)=yes
...
@@ -6415,7 +6397,7 @@ if test "$_lt_caught_CXX_error" != yes; then
...
@@ -6415,7 +6397,7 @@ if test "$_lt_caught_CXX_error" != yes; then
_LT_TAGVAR(inherit_rpath, $1)=yes
_LT_TAGVAR(inherit_rpath, $1)=yes
;;
;;
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu
| gnu*
)
case $cc_basename in
case $cc_basename in
KCC*)
KCC*)
# Kuck and Associates, Inc. (KAI) C++ Compiler
# Kuck and Associates, Inc. (KAI) C++ Compiler
...
...
storage/oqgraph/ha_oqgraph.cc
View file @
c2557f37
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
#pragma implementation // gcc: Class implementation
#pragma implementation // gcc: Class implementation
#endif
#endif
#define MYSQL_SERVER // to have THD
#include <mysql/plugin.h>
#include "sql_class.h"
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
...
@@ -33,8 +37,13 @@
...
@@ -33,8 +37,13 @@
#include "ha_oqgraph.h"
#include "ha_oqgraph.h"
#include "graphcore.h"
#include "graphcore.h"
#define MYSQL_SERVER // to have THD
#include <sql_error.h>
#include <mysql/plugin.h>
#if MYSQL_VERSION_ID >= 100004
// Interim workaround for rename in sql_error.h from this point
#define MYSQL_ERROR Sql_condition
#endif
#include "table.h"
#include "table.h"
#include "field.h"
#include "field.h"
#include "key.h"
#include "key.h"
...
@@ -199,7 +208,7 @@ static bool oqgraph_init()
...
@@ -199,7 +208,7 @@ static bool oqgraph_init()
// 'Fixes' bug 1134355
// 'Fixes' bug 1134355
// HTON_NO_FLAGS;
// HTON_NO_FLAGS;
hton
->
table_options
=
oqgraph_table_option_list
;
hton
->
table_options
=
(
ha_create_table_option
*
)
oqgraph_table_option_list
;
oqgraph_init_done
=
TRUE
;
oqgraph_init_done
=
TRUE
;
return
0
;
return
0
;
}
}
...
...
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