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
aeaac6ca
Commit
aeaac6ca
authored
May 25, 2018
by
Sergey Vojtovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved include <cmath> from my_global.h
parent
8f888ab1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
include/my_global.h
include/my_global.h
+0
-4
sql/item_func.h
sql/item_func.h
+1
-0
storage/innobase/gis/gis0geo.cc
storage/innobase/gis/gis0geo.cc
+1
-0
storage/innobase/gis/gis0rtree.cc
storage/innobase/gis/gis0rtree.cc
+1
-0
No files found.
include/my_global.h
View file @
aeaac6ca
...
@@ -828,10 +828,6 @@ inline unsigned long long my_double2ulonglong(double d)
...
@@ -828,10 +828,6 @@ inline unsigned long long my_double2ulonglong(double d)
#define SIZE_T_MAX (~((size_t) 0))
#define SIZE_T_MAX (~((size_t) 0))
#endif
#endif
#ifdef __cplusplus
#include <cmath>
#endif
/* Define missing math constants. */
/* Define missing math constants. */
#ifndef M_PI
#ifndef M_PI
#define M_PI 3.14159265358979323846
#define M_PI 3.14159265358979323846
...
...
sql/item_func.h
View file @
aeaac6ca
...
@@ -32,6 +32,7 @@ extern "C" /* Bug in BSDI include file */
...
@@ -32,6 +32,7 @@ extern "C" /* Bug in BSDI include file */
#include "sql_udf.h" // udf_handler
#include "sql_udf.h" // udf_handler
#include "my_decimal.h" // string2my_decimal
#include "my_decimal.h" // string2my_decimal
#include <cmath>
class
Item_func
:
public
Item_func_or_sum
class
Item_func
:
public
Item_func_or_sum
...
...
storage/innobase/gis/gis0geo.cc
View file @
aeaac6ca
...
@@ -30,6 +30,7 @@ Created 2013/03/27 Allen Lai and Jimmy Yang
...
@@ -30,6 +30,7 @@ Created 2013/03/27 Allen Lai and Jimmy Yang
#include "mach0data.h"
#include "mach0data.h"
#include <spatial.h>
#include <spatial.h>
#include <cmath>
/* These definitions are for comparing 2 mbrs. */
/* These definitions are for comparing 2 mbrs. */
...
...
storage/innobase/gis/gis0rtree.cc
View file @
aeaac6ca
...
@@ -38,6 +38,7 @@ Created 2013/03/27 Allen Lai and Jimmy Yang
...
@@ -38,6 +38,7 @@ Created 2013/03/27 Allen Lai and Jimmy Yang
#include "trx0undo.h"
#include "trx0undo.h"
#include "srv0mon.h"
#include "srv0mon.h"
#include "gis0geo.h"
#include "gis0geo.h"
#include <cmath>
/*************************************************************//**
/*************************************************************//**
Initial split nodes info for R-tree split.
Initial split nodes info for R-tree split.
...
...
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