1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix for BUG#5242: Made SQL Syntax Prepared Statement names case-insensitive.

This commit is contained in:
sergefp@mysql.com
2004-08-29 19:44:28 +04:00
parent 34dc3a86df
commit 3dfbc35f45
3 changed files with 40 additions and 1 deletions

View File

@ -241,3 +241,21 @@ prepare stmt1 from "select * from t1 into outfile 'f1.txt'";
execute stmt1;
deallocate prepare stmt1;
drop table t1;
prepare stmt1 from 'select 1';
prepare STMT1 from 'select 2';
execute sTmT1;
2
2
deallocate prepare StMt1;
deallocate prepare Stmt1;
ERROR HY000: Unknown prepared statement handler (Stmt1) given to DEALLOCATE PREPARE
set names utf8;
prepare `ü` from 'select 1234';
execute `ü` ;
1234
1234
set names latin1;
execute `<60>`;
1234
1234
set names default;