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
c53433f3
Commit
c53433f3
authored
Mar 05, 2007
by
tnurnberg@mysql.com/sin.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into mysql.com:/home/tnurnberg/21103/50-21103
parents
9900d2f2
b5aeef5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
mysql-test/r/ps_6bdb.result
mysql-test/r/ps_6bdb.result
+6
-6
No files found.
mysql-test/r/ps_6bdb.result
View file @
c53433f3
...
...
@@ -3029,25 +3029,25 @@ test_sequence
-- select .. where date/time column = .. --
set @arg00= '1991-01-01 01:01:01' ;
select 'true' as found from t9
where c1= 20 and c13=
'1991-01-01 01:01:01'
and c14= '1991-01-01 01:01:01' and
where c1= 20 and c13=
CAST('1991-01-01 01:01:01' AS DATE)
and c14= '1991-01-01 01:01:01' and
c15= '1991-01-01 01:01:01' and c16= '1991-01-01 01:01:01' and
c17= '1991-01-01 01:01:01' ;
found
true
select 'true' as found from t9
where c1= 20 and c13=
@arg00
and c14= @arg00 and c15= @arg00 and c16= @arg00
where c1= 20 and c13=
CAST(@arg00 AS DATE)
and c14= @arg00 and c15= @arg00 and c16= @arg00
and c17= @arg00 ;
found
true
prepare stmt1 from "select 'true' as found from t9
where c1= 20 and c13=
'1991-01-01 01:01:01'
and c14= '1991-01-01 01:01:01' and
where c1= 20 and c13=
CAST('1991-01-01 01:01:01' AS DATE)
and c14= '1991-01-01 01:01:01' and
c15= '1991-01-01 01:01:01' and c16= '1991-01-01 01:01:01' and
c17= '1991-01-01 01:01:01'" ;
execute stmt1 ;
found
true
prepare stmt1 from "select 'true' as found from t9
where c1= 20 and c13=
?
and c14= ? and c15= ? and c16= ? and c17= ?" ;
where c1= 20 and c13=
CAST(? AS DATE)
and c14= ? and c15= ? and c16= ? and c17= ?" ;
execute stmt1 using @arg00, @arg00, @arg00, @arg00, @arg00 ;
found
true
...
...
@@ -3061,7 +3061,7 @@ c17= CAST('1991-01-01 01:01:01' as datetime) ;
found
true
select 'true' as found from t9
where c1= 20 and c13=
@arg00
and c14= @arg00 and c15= @arg00 and c16= @arg00
where c1= 20 and c13=
CAST(@arg00 AS DATE)
and c14= @arg00 and c15= @arg00 and c16= @arg00
and c17= @arg00 ;
found
true
...
...
@@ -3075,7 +3075,7 @@ execute stmt1 ;
found
true
prepare stmt1 from "select 'true' as found from t9
where c1= 20 and c13=
?
and c14= ? and c15= ? and c16= ? and c17= ?" ;
where c1= 20 and c13=
CAST(? AS DATE)
and c14= ? and c15= ? and c16= ? and c17= ?" ;
execute stmt1 using @arg00, @arg00, @arg00, @arg00, @arg00 ;
found
true
...
...
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