mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Some of the recently pushed prepared statements
tests were disabled due to failures caused by floating point conversion issues on optimized builds).
This commit is contained in:
@ -1190,13 +1190,13 @@ execute stmt1 using @arg00 ;
|
||||
######## SELECT .. WHERE column(year)=value(DOUBLE(m,n)/DOUBLE) ########
|
||||
set @arg00= 1.991e+3 ;
|
||||
select 'true' as found from t9
|
||||
where c1= 20 and c17= 1.991e+3 ;
|
||||
where c1= 20 and abs(c17 - 1.991e+3) < 0.01 ;
|
||||
select 'true' as found from t9
|
||||
where c1= 20 and c17= @arg00 ;
|
||||
where c1= 20 and abs(c17 - @arg00) < 0.01 ;
|
||||
prepare stmt1 from "select 'true' as found from t9
|
||||
where c1= 20 and c17= 1.991e+3" ;
|
||||
where c1= 20 and abs(c17 - 1.991e+3) < 0.01" ;
|
||||
execute stmt1 ;
|
||||
prepare stmt1 from "select 'true' as found from t9
|
||||
where c1= 20 and c17= ?" ;
|
||||
where c1= 20 and abs(c17 - ?) < 0.01" ;
|
||||
execute stmt1 using @arg00 ;
|
||||
|
||||
|
Reference in New Issue
Block a user