Commit b0b1fe3b authored by evgen@moonbone.local's avatar evgen@moonbone.local

select.result, select.test:

  Test case for bug#10977 altered to make it work in both plain and ps-protocol modes.
parent 51a63629
...@@ -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