mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#15206: "Misleading message "No data to FETCH":
reword the misleading message. mysql-test/r/sp-error.result: Test results fixed (Bug#15206) mysql-test/r/sp.result: Test results fixed (Bug#15206) mysql-test/r/type_decimal.result: Disable an unportable test case (Bug#7670) mysql-test/r/variables.result: Test results fixed (Bug#15206) mysql-test/r/view_grant.result: Test results fixed (Bug#15206) mysql-test/t/type_decimal.test: Remove an unportable (QNX) test case (Bug#7670). The test output depends on system-specific sprintf() implementation. The original complain was about erroneous conversion to long long, which was applied prior to conversion to double: but the expected behaviour can't be achieved until we have an own string -> double conversion function.
This commit is contained in:
@ -537,10 +537,10 @@ select @@query_prealloc_size = @test;
|
||||
create table t1 (a int);
|
||||
select a into @x from t1;
|
||||
Warnings:
|
||||
Warning 1329 No data to FETCH
|
||||
Warning 1329 No data - zero rows fetched, selected, or processed
|
||||
show warnings;
|
||||
Level Code Message
|
||||
Warning 1329 No data to FETCH
|
||||
Warning 1329 No data - zero rows fetched, selected, or processed
|
||||
drop table t1;
|
||||
set @@warning_count=1;
|
||||
ERROR HY000: Variable 'warning_count' is a read only variable
|
||||
|
Reference in New Issue
Block a user