diff options
author | Horst Hunger <horst@mysql.com> | 2008-12-19 16:03:32 +0100 |
---|---|---|
committer | Horst Hunger <horst@mysql.com> | 2008-12-19 16:03:32 +0100 |
commit | 357b5009409ed6666bf1df48a80d76cd42a482c8 (patch) | |
tree | 7a2fa9b404ffb20d1572c51a0bca7ecc64992310 /mysql-test/t/default_week_format_func.test | |
parent | ba816c14a9bc8012759da9d58f858f1e73bec708 (diff) | |
download | mariadb-git-357b5009409ed6666bf1df48a80d76cd42a482c8.tar.gz |
WL#4681: Took the system variable tests out of the main test suite, put them into "sys_vars", updated some reult files and tests.
Diffstat (limited to 'mysql-test/t/default_week_format_func.test')
-rw-r--r-- | mysql-test/t/default_week_format_func.test | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/mysql-test/t/default_week_format_func.test b/mysql-test/t/default_week_format_func.test deleted file mode 100644 index c80c49b39fb..00000000000 --- a/mysql-test/t/default_week_format_func.test +++ /dev/null @@ -1,66 +0,0 @@ -############## mysql-test\t\default_week_format_func.test ##################### -# # -# Variable Name: default_week_format # -# Scope: GLOBAL & SESSION # -# Access Type: Dynamic # -# Data Type: Numeric # -# Default Value: 0 # -# Range: 0 - 7 # -# # -# # -# Creation Date: 2008-03-07 # -# Author: Salman Rawala # -# # -# Description: Test Cases of Dynamic System Variable "default_week_format" # -# that checks functionality of this variable # -# # -# Reference: http://dev.mysql.com/doc/refman/5.1/en/ # -# server-system-variables.html#option_mysqld_default_week_format # -# # -################################################################################ - ---echo '#--------------------FN_DYNVARS_022_01-------------------------#' -#################################################################### -# Verifying different values of default_week_format -#################################################################### - ---echo ## Setting variable's value to 0 ## -SET @@session.default_week_format = 0; -SELECT @@session.default_week_format; -SELECT WEEK('2008-01-20'); - ---echo ## Setting variable's value to 1 ## -SET @@session.default_week_format = 1; -SELECT @@session.default_week_format; -SELECT WEEK('2008-01-20'); - ---echo ## Setting variable's value to 2 ## -SET @@session.default_week_format = 2; -SELECT @@session.default_week_format; -SELECT WEEK('2008-01-20'); - ---echo ## Setting variable's value to 3 ## -SET @@session.default_week_format = 3; -SELECT @@session.default_week_format; -SELECT WEEK('2008-01-20'); - ---echo ## Setting variable's value to 4 ## -SET @@session.default_week_format = 4; -SELECT @@session.default_week_format; -SELECT WEEK('2008-01-20'); - ---echo ## Setting variable's value to 5 ## -SET @@session.default_week_format = 5; -SELECT @@session.default_week_format; -SELECT WEEK('2008-01-20'); - ---echo ## Setting variable's value to 6 ## -SET @@session.default_week_format = 6; -SELECT @@session.default_week_format; -SELECT WEEK('2008-01-20'); - ---echo ## Setting variable's value to 7 ## -SET @@session.default_week_format = 7; -SELECT @@session.default_week_format; -SELECT WEEK('2008-01-20'); - |