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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b9da4176
Commit
b9da4176
authored
Aug 04, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test to deal with more relaxed datetime parsing.
parent
5ad0c87d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
mysql-test/r/query_cache.result
mysql-test/r/query_cache.result
+9
-9
mysql-test/t/query_cache.test
mysql-test/t/query_cache.test
+3
-3
No files found.
mysql-test/r/query_cache.result
View file @
b9da4176
...
...
@@ -902,24 +902,24 @@ KEY `date` (`date`)
) ENGINE=MyISAM;
INSERT INTO t1 VALUES ('20050326');
INSERT INTO t1 VALUES ('20050325');
SELECT COUNT(*) FROM t1 WHERE date BETWEEN '20050326' AND '20050327
0:0:0
';
SELECT COUNT(*) FROM t1 WHERE date BETWEEN '20050326' AND '20050327
invalid
';
COUNT(*)
0
Warnings:
Warning 1292 Truncated incorrect datetime value: '20050327
0:0:0
'
Warning 1292 Truncated incorrect datetime value: '20050327
0:0:0
'
SELECT COUNT(*) FROM t1 WHERE date BETWEEN '20050326' AND '20050328
0:0:0
';
Warning 1292 Truncated incorrect datetime value: '20050327
invalid
'
Warning 1292 Truncated incorrect datetime value: '20050327
invalid
'
SELECT COUNT(*) FROM t1 WHERE date BETWEEN '20050326' AND '20050328
invalid
';
COUNT(*)
0
Warnings:
Warning 1292 Truncated incorrect datetime value: '20050328
0:0:0
'
Warning 1292 Truncated incorrect datetime value: '20050328
0:0:0
'
SELECT COUNT(*) FROM t1 WHERE date BETWEEN '20050326' AND '20050327
0:0:0
';
Warning 1292 Truncated incorrect datetime value: '20050328
invalid
'
Warning 1292 Truncated incorrect datetime value: '20050328
invalid
'
SELECT COUNT(*) FROM t1 WHERE date BETWEEN '20050326' AND '20050327
invalid
';
COUNT(*)
0
Warnings:
Warning 1292 Truncated incorrect datetime value: '20050327
0:0:0
'
Warning 1292 Truncated incorrect datetime value: '20050327
0:0:0
'
Warning 1292 Truncated incorrect datetime value: '20050327
invalid
'
Warning 1292 Truncated incorrect datetime value: '20050327
invalid
'
show status like "Qcache_queries_in_cache";
Variable_name Value
Qcache_queries_in_cache 0
...
...
mysql-test/t/query_cache.test
View file @
b9da4176
...
...
@@ -679,9 +679,9 @@ CREATE TABLE t1 (
INSERT
INTO
t1
VALUES
(
'20050326'
);
INSERT
INTO
t1
VALUES
(
'20050325'
);
SELECT
COUNT
(
*
)
FROM
t1
WHERE
date
BETWEEN
'20050326'
AND
'20050327
0:0:0
'
;
SELECT
COUNT
(
*
)
FROM
t1
WHERE
date
BETWEEN
'20050326'
AND
'20050328
0:0:0
'
;
SELECT
COUNT
(
*
)
FROM
t1
WHERE
date
BETWEEN
'20050326'
AND
'20050327
0:0:0
'
;
SELECT
COUNT
(
*
)
FROM
t1
WHERE
date
BETWEEN
'20050326'
AND
'20050327
invalid
'
;
SELECT
COUNT
(
*
)
FROM
t1
WHERE
date
BETWEEN
'20050326'
AND
'20050328
invalid
'
;
SELECT
COUNT
(
*
)
FROM
t1
WHERE
date
BETWEEN
'20050326'
AND
'20050327
invalid
'
;
show
status
like
"Qcache_queries_in_cache"
;
show
status
like
"Qcache_inserts"
;
show
status
like
"Qcache_hits"
;
...
...
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