summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp.test
diff options
context:
space:
mode:
authorkaa@polly.local <>2007-02-19 13:57:06 +0300
committerkaa@polly.local <>2007-02-19 13:57:06 +0300
commit315819fed02f44608a7ab4670cfc7743db8c30ce (patch)
treee85ab5f0f5454dc0f5ddfae391efa958c18cebea /mysql-test/t/sp.test
parentf10a24314d61c011b8a7c99f1db0c6f4d2e763e0 (diff)
downloadmariadb-git-315819fed02f44608a7ab4670cfc7743db8c30ce.tar.gz
Bug#18743: Several test cases fails if "classic" configuration in 5.0
The problem happened because those tests were using "cp932" and "ucs2" without checking whether these character sets are available. This fix moves test parts to make character set specific parts be tested only if they are: - some parts were moved to "ctype_ucs.test" and "ctype_cp932.test" - some parts were moved to the newly added tests "innodb-ucs2.test", "mysqlbinglog-cp932.test" and "sp-ucs2.test"
Diffstat (limited to 'mysql-test/t/sp.test')
-rw-r--r--mysql-test/t/sp.test25
1 files changed, 2 insertions, 23 deletions
diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test
index 95bb9f7c376..5a3bab1e51a 100644
--- a/mysql-test/t/sp.test
+++ b/mysql-test/t/sp.test
@@ -11,6 +11,8 @@
# Tests that uses 'goto' to into sp-goto.test (currently disabled)
# Tests that destroys system tables (e.g. mysql.proc) for error testing
# go to sp-destruct.
+# Tests that require multibyte character sets, which are not always available,
+# go into separate files (e.g. sp-ucs2.test)
use test;
@@ -5526,29 +5528,6 @@ drop table t3|
#
-# BUG#17615: problem with character set
-#
---disable_warnings
-drop function if exists bug17615|
---enable_warnings
-
-create table t3 (a varchar(256) unicode)|
-
-create function bug17615() returns varchar(256) unicode
-begin
- declare tmp_res varchar(256) unicode;
- set tmp_res= 'foo string';
- return tmp_res;
-end|
-
-insert into t3 values(bug17615())|
-select * from t3|
-
-drop function bug17615|
-drop table t3|
-
-
-#
# BUG#17476: Stored procedure not returning data when it is called first
# time per connection
#