summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2002-10-31 00:30:19 +0200
committerunknown <heikki@hundin.mysql.fi>2002-10-31 00:30:19 +0200
commit8ade6771d79a0cebbbe6560b77cae257d72ac958 (patch)
tree77352f4125cbc64e2ba2d2c5da648b616052f13f /innobase
parent360b64379daf7d485d43089d4e42dc891b09e1b1 (diff)
downloadmariadb-git-8ade6771d79a0cebbbe6560b77cae257d72ac958.tar.gz
ha_innobase.cc:
Backport from 4.0: Fix bug in MySQL-3.23 ORDER BY from a table with no PRIMARY KEY and where the user had added UNIQUE indexes with CREATE INDEX pars0grm.y: Move inclusion of math.h after univ.i also in the .y file; this fix is already done in 4.0 innobase/pars/pars0grm.y: Move inclusion of math.h after univ.i also in the .y file; this fix is already done in 4.0 sql/ha_innobase.cc: Backport from 4.0: Fix bug in MySQL-3.23 ORDER BY from a table with no PRIMARY KEY and where the user had added UNIQUE indexes with CREATE INDEX
Diffstat (limited to 'innobase')
-rw-r--r--innobase/pars/pars0grm.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/innobase/pars/pars0grm.y b/innobase/pars/pars0grm.y
index 67289222594..eedc42bee57 100644
--- a/innobase/pars/pars0grm.y
+++ b/innobase/pars/pars0grm.y
@@ -14,9 +14,8 @@ the InnoDB parser.
/* The value of the semantic attribute is a pointer to a query tree node
que_node_t */
-#include <math.h>
-
#include "univ.i"
+#include <math.h>
#include "pars0pars.h"
#include "mem0mem.h"
#include "que0types.h"