Commit 14d72663 authored by unknown's avatar unknown

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
...@@ -3398,8 +3398,9 @@ drop table t1,t2; ...@@ -3398,8 +3398,9 @@ drop table t1,t2;
SELECT 0.9888889889 * 1.011111411911; SELECT 0.9888889889 * 1.011111411911;
0.9888889889 * 1.011111411911 0.9888889889 * 1.011111411911
0.9998769417899202067879 0.9998769417899202067879
select 1 as ' a '; prepare stmt from 'select 1 as " a "';
a
1
Warnings: Warnings:
Warning 1466 Leading spaces are removed from name ' a ' Warning 1466 Leading spaces are removed from name ' a '
execute stmt;
a
1
...@@ -2910,4 +2910,5 @@ SELECT 0.9888889889 * 1.011111411911; ...@@ -2910,4 +2910,5 @@ SELECT 0.9888889889 * 1.011111411911;
# #
# Bug #10977: No warning issued if a column name is truncated # Bug #10977: No warning issued if a column name is truncated
# #
select 1 as ' a '; prepare stmt from 'select 1 as " a "';
execute stmt;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment