Commit 14d72663 authored by unknown's avatar unknown
Browse files

select.result, select.test:

  Test case for bug#10977 altered to make it work in both plain and ps-protocol modes.


mysql-test/t/select.test:
  Test case for bug#10977 altered to make it work in both plain and ps-protocol modes.
mysql-test/r/select.result:
  Test case for bug#10977 altered to make it work in both plain and ps-protocol modes.
parent 9a5daa60
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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
+2 −1
Original line number Diff line number Diff line
@@ -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;