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
461e4668
Commit
461e4668
authored
Oct 09, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
metadata test of bug # 31249: problem with convert(..., datetime) removed
as PS protocol gives slightly different metadata.
parent
0d6a6566
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
mysql-test/r/type_datetime.result
mysql-test/r/type_datetime.result
+0
-7
mysql-test/t/type_datetime.test
mysql-test/t/type_datetime.test
+0
-3
No files found.
mysql-test/r/type_datetime.result
View file @
461e4668
...
@@ -441,12 +441,5 @@ insert into t1 values (), (), ();
...
@@ -441,12 +441,5 @@ insert into t1 values (), (), ();
select sum(a) from t1 group by convert(a, datetime);
select sum(a) from t1 group by convert(a, datetime);
sum(a)
sum(a)
NULL
NULL
select convert(a, datetime) from t1;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def convert(a, datetime) 12 29 0 Y 128 6 63
convert(a, datetime)
NULL
NULL
NULL
drop table t1;
drop table t1;
End of 5.0 tests
End of 5.0 tests
mysql-test/t/type_datetime.test
View file @
461e4668
...
@@ -299,9 +299,6 @@ drop table t1;
...
@@ -299,9 +299,6 @@ drop table t1;
create
table
t1
(
a
tinyint
);
create
table
t1
(
a
tinyint
);
insert
into
t1
values
(),
(),
();
insert
into
t1
values
(),
(),
();
select
sum
(
a
)
from
t1
group
by
convert
(
a
,
datetime
);
select
sum
(
a
)
from
t1
group
by
convert
(
a
,
datetime
);
--
enable_metadata
select
convert
(
a
,
datetime
)
from
t1
;
--
disable_metadata
drop
table
t1
;
drop
table
t1
;
--
echo
End
of
5.0
tests
--
echo
End
of
5.0
tests
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