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
5d04190d
Commit
5d04190d
authored
Oct 01, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed undeterministic test result from the fux for bug 30587
parent
0035c0cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
mysql-test/r/func_math.result
mysql-test/r/func_math.result
+0
-8
mysql-test/t/func_math.test
mysql-test/t/func_math.test
+0
-2
No files found.
mysql-test/r/func_math.result
View file @
5d04190d
...
@@ -325,25 +325,17 @@ pow(cast(-2 as unsigned), 5) pow(18446744073709551614, 5) pow(-2, 5)
...
@@ -325,25 +325,17 @@ pow(cast(-2 as unsigned), 5) pow(18446744073709551614, 5) pow(-2, 5)
CREATE TABLE t1 (a timestamp, b varchar(20), c bit(1));
CREATE TABLE t1 (a timestamp, b varchar(20), c bit(1));
INSERT INTO t1 VALUES('1998-09-23', 'str1', 1), ('2003-03-25', 'str2', 0);
INSERT INTO t1 VALUES('1998-09-23', 'str1', 1), ('2003-03-25', 'str2', 0);
SELECT a DIV 900 y FROM t1 GROUP BY y;
SELECT a DIV 900 y FROM t1 GROUP BY y;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def y 8 19 11 Y 32800 0 63
y
y
22201025555
22201025555
22255916666
22255916666
SELECT DISTINCT a DIV 900 y FROM t1;
SELECT DISTINCT a DIV 900 y FROM t1;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def y 8 19 11 Y 32800 0 63
y
y
22201025555
22201025555
22255916666
22255916666
SELECT b DIV 900 y FROM t1 GROUP BY y;
SELECT b DIV 900 y FROM t1 GROUP BY y;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def y 8 20 1 Y 32768 0 63
y
y
0
0
SELECT c DIV 900 y FROM t1 GROUP BY y;
SELECT c DIV 900 y FROM t1 GROUP BY y;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def y 3 1 1 Y 32800 0 63
y
y
0
0
DROP TABLE t1;
DROP TABLE t1;
...
...
mysql-test/t/func_math.test
View file @
5d04190d
...
@@ -211,12 +211,10 @@ select pow(cast(-2 as unsigned), 5), pow(18446744073709551614, 5), pow(-2, 5);
...
@@ -211,12 +211,10 @@ select pow(cast(-2 as unsigned), 5), pow(18446744073709551614, 5), pow(-2, 5);
CREATE
TABLE
t1
(
a
timestamp
,
b
varchar
(
20
),
c
bit
(
1
));
CREATE
TABLE
t1
(
a
timestamp
,
b
varchar
(
20
),
c
bit
(
1
));
INSERT
INTO
t1
VALUES
(
'1998-09-23'
,
'str1'
,
1
),
(
'2003-03-25'
,
'str2'
,
0
);
INSERT
INTO
t1
VALUES
(
'1998-09-23'
,
'str1'
,
1
),
(
'2003-03-25'
,
'str2'
,
0
);
--
enable_metadata
SELECT
a
DIV
900
y
FROM
t1
GROUP
BY
y
;
SELECT
a
DIV
900
y
FROM
t1
GROUP
BY
y
;
SELECT
DISTINCT
a
DIV
900
y
FROM
t1
;
SELECT
DISTINCT
a
DIV
900
y
FROM
t1
;
SELECT
b
DIV
900
y
FROM
t1
GROUP
BY
y
;
SELECT
b
DIV
900
y
FROM
t1
GROUP
BY
y
;
SELECT
c
DIV
900
y
FROM
t1
GROUP
BY
y
;
SELECT
c
DIV
900
y
FROM
t1
GROUP
BY
y
;
--
disable_metadata
DROP
TABLE
t1
;
DROP
TABLE
t1
;
CREATE
TABLE
t1
(
a
LONGBLOB
);
CREATE
TABLE
t1
(
a
LONGBLOB
);
...
...
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