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
fbb0e5b2
Commit
fbb0e5b2
authored
Feb 10, 2011
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge mysql-5.5->mysql-5.5-security
parents
14ed78e7
50c9f1f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mysql-test/include/ctype_numconv.inc
mysql-test/include/ctype_numconv.inc
+3
-0
No files found.
mysql-test/include/ctype_numconv.inc
View file @
fbb0e5b2
...
@@ -1750,12 +1750,15 @@ SELECT
...
@@ -1750,12 +1750,15 @@ SELECT
SHOW
CREATE
TABLE
t1
;
SHOW
CREATE
TABLE
t1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
--
enable_metadata
--
enable_metadata
# PS protocol gives different "Max length" value for DATETIME.
--
disable_ps_protocol
SELECT
SELECT
DATE_SUB
(
'2007-08-03'
,
INTERVAL
1
DAY
)
AS
field_str1
,
DATE_SUB
(
'2007-08-03'
,
INTERVAL
1
DAY
)
AS
field_str1
,
DATE_SUB
(
'2007-08-03 17:33:00'
,
INTERVAL
1
MINUTE
)
AS
field1_str2
,
DATE_SUB
(
'2007-08-03 17:33:00'
,
INTERVAL
1
MINUTE
)
AS
field1_str2
,
DATE_SUB
(
DATE
(
'2007-08-03'
),
INTERVAL
1
DAY
)
AS
field_date
,
DATE_SUB
(
DATE
(
'2007-08-03'
),
INTERVAL
1
DAY
)
AS
field_date
,
DATE_SUB
(
CAST
(
'2007-08-03 17:33:00'
AS
DATETIME
),
INTERVAL
1
MINUTE
)
AS
field_datetime
;
DATE_SUB
(
CAST
(
'2007-08-03 17:33:00'
AS
DATETIME
),
INTERVAL
1
MINUTE
)
AS
field_datetime
;
--
disable_metadata
--
disable_metadata
--
enable_ps_protocol
SELECT
SELECT
HEX
(
DATE_SUB
(
'2007-08-03'
,
INTERVAL
1
MINUTE
))
AS
field_str1
,
HEX
(
DATE_SUB
(
'2007-08-03'
,
INTERVAL
1
MINUTE
))
AS
field_str1
,
HEX
(
DATE_SUB
(
'2007-08-03 17:33:00'
,
INTERVAL
1
MINUTE
))
AS
field1_str2
,
HEX
(
DATE_SUB
(
'2007-08-03 17:33:00'
,
INTERVAL
1
MINUTE
))
AS
field1_str2
,
...
...
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