select.result, select.test:

Test case for bug#10977 altered to make it work in both plain and ps-protocol modes.
This commit is contained in:
evgen@moonbone.local 2006-07-17 16:12:42 +04:00
parent 51a636293e
commit b0b1fe3bd8
2 changed files with 6 additions and 4 deletions

View file

@ -3398,8 +3398,9 @@ drop table t1,t2;
SELECT 0.9888889889 * 1.011111411911;
0.9888889889 * 1.011111411911
0.9998769417899202067879
select 1 as ' a ';
a
1
prepare stmt from 'select 1 as " a "';
Warnings:
Warning 1466 Leading spaces are removed from name ' a '
execute stmt;
a
1

View file

@ -2910,4 +2910,5 @@ SELECT 0.9888889889 * 1.011111411911;
#
# Bug #10977: No warning issued if a column name is truncated
#
select 1 as ' a ';
prepare stmt from 'select 1 as " a "';
execute stmt;