mariadb/mysql-test/suite/sys_vars/r/collation_database_basic.result
Sergei Golubchik 1ad5bb1a69 WL#4738 streamline/simplify @@variable creation process
Bug#16565 mysqld --help --verbose does not order variablesBug#20413 sql_slave_skip_counter is not shown in show variables
Bug#20415 Output of mysqld --help --verbose is incomplete
Bug#25430 variable not found in SELECT @@global.ft_max_word_len;
Bug#32902 plugin variables don't know their names
Bug#34599 MySQLD Option and Variable Reference need to be consistent in formatting!
Bug#34829 No default value for variable and setting default does not raise error
Bug#34834 ? Is accepted as a valid sql mode
Bug#34878 Few variables have default value according to documentation but error occurs  
Bug#34883 ft_boolean_syntax cant be assigned from user variable to global var.
Bug#37187 `INFORMATION_SCHEMA`.`GLOBAL_VARIABLES`: inconsistent status
Bug#40988 log_output_basic.test succeeded though syntactically false.
Bug#41010 enum-style command-line options are not honoured (maria.maria-recover fails)
Bug#42103 Setting key_buffer_size to a negative value may lead to very large allocations 
Bug#44691 Some plugins configured as MYSQL_PLUGIN_MANDATORY in can be disabled
Bug#44797 plugins w/o command-line options have no disabling option in --help
Bug#46314 string system variables don't support expressions
Bug#46470 sys_vars.max_binlog_cache_size_basic_32 is broken
Bug#46586 When using the plugin interface the type "set" for options caused a crash.
Bug#47212 Crash in DBUG_PRINT in mysqltest.cc when trying to print octal number
Bug#48758 mysqltest crashes on sys_vars.collation_server_basic in gcov builds
Bug#49417 some complaints about mysqld --help --verbose output
Bug#49540 DEFAULT value of binlog_format isn't the default value
Bug#49640 ambiguous option '--skip-skip-myisam' (double skip prefix)
Bug#49644 init_connect and \0
Bug#49645 init_slave and multi-byte characters
Bug#49646 mysql --show-warnings crashes when server dies


CMakeLists.txt:
  Bug#44691 Some plugins configured as MYSQL_PLUGIN_MANDATORY in can be disabled
client/mysql.cc:
  don't crash with --show-warnings when mysqld dies
config/ac-macros/plugins.m4:
  Bug#44691 Some plugins configured as MYSQL_PLUGIN_MANDATORY in can be disabled
include/my_getopt.h:
  comments
include/my_pthread.h:
  fix double #define
mysql-test/mysql-test-run.pl:
  run sys_vars suite by default
  properly recognize envirinment variables (e.g. MTR_MAX_SAVE_CORE) set to 0
  escape gdb command line arguments
mysql-test/suite/sys_vars/r/rpl_init_slave_func.result:
  init_slave+utf8 bug
mysql-test/suite/sys_vars/t/rpl_init_slave_func.test:
  init_slave+utf8 bug
mysys/my_getopt.c:
  Bug#34599 MySQLD Option and Variable Reference need to be consistent in formatting!
  Bug#46586 When using the plugin interface the type "set" for options caused a crash.
  Bug#49640 ambiguous option '--skip-skip-myisam' (double skip prefix)
mysys/typelib.c:
  support for flagset
sql/ha_ndbcluster.cc:
  backport from telco tree
sql/item_func.cc:
  Bug#49644 init_connect and \0
  Bug#49645 init_slave and multi-byte characters
sql/sql_builtin.cc.in:
  Bug#44691 Some plugins configured as MYSQL_PLUGIN_MANDATORY in can be disabled
sql/sql_plugin.cc:
  Bug#44691 Some plugins configured as MYSQL_PLUGIN_MANDATORY in can be disabled
  Bug#32902 plugin variables don't know their names
  Bug#44797 plugins w/o command-line options have no disabling option in --help
sql/sys_vars.cc:
  all server variables are defined here
storage/myisam/ft_parser.c:
  remove unnecessary updates of param->quot
storage/myisam/ha_myisam.cc:
  myisam_* variables belong here
strings/my_vsnprintf.c:
  %o and %llx
unittest/mysys/my_vsnprintf-t.c:
  %o and %llx tests
vio/viosocket.c:
  bugfix: fix @@wait_timeout to work with socket timeouts (vs. alarm thread)
2009-12-22 10:35:56 +01:00

1227 lines
40 KiB
Text

SET @global_start_value = @@global.collation_database;
SELECT @global_start_value;
@global_start_value
latin1_swedish_ci
SET @session_start_value = @@collation_database;
SELECT @session_start_value;
@session_start_value
latin1_swedish_ci
SET @session_start_value = @@local.collation_database;
SELECT @session_start_value;
@session_start_value
latin1_swedish_ci
SET @session_start_value = @@session.collation_database;
SELECT @session_start_value;
@session_start_value
latin1_swedish_ci
'#--------------------FN_DYNVARS_016_01------------------#'
SELECT collation_database;
ERROR 42S22: Unknown column 'collation_database' in 'field list'
SET collation_database=utf8_unicode_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_unicode_ci
SET global.collation_database=utf8_unicode_ci;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collation_database=utf8_unicode_ci' at line 1
SET session collation_database=utf8_unicode_ci;
SELECT session collation_database;
ERROR 42S22: Unknown column 'session' in 'field list'
SET global collation_database=utf8_unicode_ci;
SELECT global collation_database;
ERROR 42S22: Unknown column 'global' in 'field list'
'#--------------------FN_DYNVARS_016_02-------------------------#'
SET @@collation_database = latin1_bin;
SET @@collation_database = DEFAULT;
SELECT DEFAULT_COLLATION_NAME FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME=DATABASE();
DEFAULT_COLLATION_NAME
latin1_swedish_ci
SELECT @@collation_database AS DEFAULT_VALUE;
DEFAULT_VALUE
latin1_swedish_ci
SET @@global.collation_database = latin1_bin;
SET @@global.collation_database = DEFAULT;
SELECT @@global.collation_database;
@@global.collation_database
latin1_swedish_ci
'#--------------------FN_DYNVARS_016_03-------------------------#'
SET @@session.collation_database = utf8_polish_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_polish_ci
SET @@global.collation_database = latin7_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin7_general_ci
SELECT @@session.collation_database AS res_is_utf8_polish_ci;
res_is_utf8_polish_ci
utf8_polish_ci
SET @@session.collation_database = latin7_bin;
SELECT @@session.collation_database;
@@session.collation_database
latin7_bin
SELECT @@global.collation_database AS res_is_latin7_general_ci;
res_is_latin7_general_ci
latin7_general_ci
SELECT @@global.collation_database=@@session.collation_database AS res_is_false;
res_is_false
0
'#--------------------FN_DYNVARS_016_04-------------------------#'
SELECT @@collation_database = @@session.collation_database AS res;
res
1
SELECT @@collation_database = @@local.collation_database AS res;
res
1
'#--------------------FN_DYNVARS_016_05-------------------------#'
SET @@collation_database = latin7_general_ci + latin7_general_cs;
ERROR 42S22: Unknown column 'latin7_general_ci' in 'field list'
'#--------------------FN_DYNVARS_016_06-------------------------#'
SET @@session.collation_database = big5_chinese_ci;
SELECT @@session.collation_database;
@@session.collation_database
big5_chinese_ci
SET @@session.collation_database = big5_bin;
SELECT @@session.collation_database;
@@session.collation_database
big5_bin
SET @@session.collation_database = dec8_swedish_ci;
SELECT @@session.collation_database;
@@session.collation_database
dec8_swedish_ci
SET @@session.collation_database = dec8_bin;
SELECT @@session.collation_database;
@@session.collation_database
dec8_bin
SET @@session.collation_database = cp850_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp850_general_ci
SET @@session.collation_database = cp850_bin;
SELECT @@session.collation_database;
@@session.collation_database
cp850_bin
SET @@session.collation_database = hp8_english_ci;
SELECT @@session.collation_database;
@@session.collation_database
hp8_english_ci
SET @@session.collation_database = hp8_bin;
SELECT @@session.collation_database;
@@session.collation_database
hp8_bin
SET @@session.collation_database = koi8r_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
koi8r_general_ci
SET @@session.collation_database = koi8r_bin;
SELECT @@session.collation_database;
@@session.collation_database
koi8r_bin
SET @@session.collation_database = latin1_german1_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin1_german1_ci
SET @@session.collation_database = latin1_swedish_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin1_swedish_ci
SET @@session.collation_database = latin1_danish_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin1_danish_ci
SET @@session.collation_database = latin1_german2_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin1_german2_ci
SET @@session.collation_database = latin1_bin;
SELECT @@session.collation_database;
@@session.collation_database
latin1_bin
SET @@session.collation_database = latin1_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin1_general_ci
SET @@session.collation_database = latin1_general_cs;
SELECT @@session.collation_database;
@@session.collation_database
latin1_general_cs
SET @@session.collation_database = latin1_spanish_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin1_spanish_ci
SET @@session.collation_database = latin2_czech_cs;
SELECT @@session.collation_database;
@@session.collation_database
latin2_czech_cs
SET @@session.collation_database = latin2_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin2_general_ci
SET @@session.collation_database = latin2_hungarian_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin2_hungarian_ci
SET @@session.collation_database = latin2_croatian_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin2_croatian_ci
SET @@session.collation_database = latin2_bin;
SELECT @@session.collation_database;
@@session.collation_database
latin2_bin
SET @@session.collation_database = swe7_swedish_ci;
SELECT @@session.collation_database;
@@session.collation_database
swe7_swedish_ci
SET @@session.collation_database = swe7_bin;
SELECT @@session.collation_database;
@@session.collation_database
swe7_bin
SET @@session.collation_database = ascii_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
ascii_general_ci
SET @@session.collation_database = ascii_bin;
SELECT @@session.collation_database;
@@session.collation_database
ascii_bin
SET @@session.collation_database = ujis_japanese_ci;
SELECT @@session.collation_database;
@@session.collation_database
ujis_japanese_ci
SET @@session.collation_database = ujis_bin;
SELECT @@session.collation_database;
@@session.collation_database
ujis_bin
SET @@session.collation_database = sjis_japanese_ci;
SELECT @@session.collation_database;
@@session.collation_database
sjis_japanese_ci
SET @@session.collation_database = sjis_bin;
SELECT @@session.collation_database;
@@session.collation_database
sjis_bin
SET @@session.collation_database = hebrew_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
hebrew_general_ci
SET @@session.collation_database = hebrew_bin;
SELECT @@session.collation_database;
@@session.collation_database
hebrew_bin
SET @@session.collation_database = tis620_thai_ci;
SELECT @@session.collation_database;
@@session.collation_database
tis620_thai_ci
SET @@session.collation_database = tis620_bin;
SELECT @@session.collation_database;
@@session.collation_database
tis620_bin
SET @@session.collation_database = euckr_korean_ci;
SELECT @@session.collation_database;
@@session.collation_database
euckr_korean_ci
SET @@session.collation_database = euckr_bin;
SELECT @@session.collation_database;
@@session.collation_database
euckr_bin
SET @@session.collation_database = koi8u_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
koi8u_general_ci
SET @@session.collation_database = koi8u_bin;
SELECT @@session.collation_database;
@@session.collation_database
koi8u_bin
SET @@session.collation_database = gb2312_chinese_ci;
SELECT @@session.collation_database;
@@session.collation_database
gb2312_chinese_ci
SET @@session.collation_database = gb2312_bin;
SELECT @@session.collation_database;
@@session.collation_database
gb2312_bin
SET @@session.collation_database = greek_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
greek_general_ci
SET @@session.collation_database = greek_bin;
SELECT @@session.collation_database;
@@session.collation_database
greek_bin
SET @@session.collation_database = cp1250_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1250_general_ci
SET @@session.collation_database = cp1250_czech_cs;
SELECT @@session.collation_database;
@@session.collation_database
cp1250_czech_cs
SET @@session.collation_database = cp1250_croatian_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1250_croatian_ci
SET @@session.collation_database = cp1250_bin;
SELECT @@session.collation_database;
@@session.collation_database
cp1250_bin
SET @@session.collation_database = cp1250_polish_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1250_polish_ci
SET @@session.collation_database = gbk_chinese_ci;
SELECT @@session.collation_database;
@@session.collation_database
gbk_chinese_ci
SET @@session.collation_database = gbk_bin;
SELECT @@session.collation_database;
@@session.collation_database
gbk_bin
SET @@session.collation_database = latin5_turkish_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin5_turkish_ci
SET @@session.collation_database = latin5_bin;
SELECT @@session.collation_database;
@@session.collation_database
latin5_bin
SET @@session.collation_database = armscii8_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
armscii8_general_ci
SET @@session.collation_database = armscii8_bin;
SELECT @@session.collation_database;
@@session.collation_database
armscii8_bin
SET @@session.collation_database = utf8_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_general_ci
SET @@session.collation_database = utf8_bin;
SELECT @@session.collation_database;
@@session.collation_database
utf8_bin
SET @@session.collation_database = utf8_unicode_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_unicode_ci
SET @@session.collation_database = utf8_icelandic_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_icelandic_ci
SET @@session.collation_database = utf8_latvian_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_latvian_ci
SET @@session.collation_database = utf8_romanian_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_romanian_ci
SET @@session.collation_database = utf8_slovenian_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_slovenian_ci
SET @@session.collation_database = utf8_polish_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_polish_ci
SET @@session.collation_database = utf8_estonian_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_estonian_ci
SET @@session.collation_database = utf8_spanish_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_spanish_ci
SET @@session.collation_database = utf8_swedish_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_swedish_ci
SET @@session.collation_database = utf8_turkish_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_turkish_ci
SET @@session.collation_database = utf8_czech_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_czech_ci
SET @@session.collation_database = utf8_danish_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_danish_ci
SET @@session.collation_database = utf8_lithuanian_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_lithuanian_ci
SET @@session.collation_database = utf8_slovak_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_slovak_ci
SET @@session.collation_database = utf8_spanish2_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_spanish2_ci
SET @@session.collation_database = utf8_roman_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_roman_ci
SET @@session.collation_database = utf8_persian_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_persian_ci
SET @@session.collation_database = utf8_esperanto_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_esperanto_ci
SET @@session.collation_database = utf8_hungarian_ci;
SELECT @@session.collation_database;
@@session.collation_database
utf8_hungarian_ci
SET @@session.collation_database = ucs2_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_general_ci
SET @@session.collation_database = ucs2_bin;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_bin
SET @@session.collation_database = ucs2_unicode_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_unicode_ci
SET @@session.collation_database = ucs2_icelandic_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_icelandic_ci
SET @@session.collation_database = ucs2_latvian_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_latvian_ci
SET @@session.collation_database = ucs2_romanian_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_romanian_ci
SET @@session.collation_database = ucs2_slovenian_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_slovenian_ci
SET @@session.collation_database = ucs2_polish_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_polish_ci
SET @@session.collation_database = ucs2_estonian_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_estonian_ci
SET @@session.collation_database = ucs2_spanish_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_spanish_ci
SET @@session.collation_database = ucs2_swedish_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_swedish_ci
SET @@session.collation_database = ucs2_turkish_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_turkish_ci
SET @@session.collation_database = ucs2_czech_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_czech_ci
SET @@session.collation_database = ucs2_danish_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_danish_ci
SET @@session.collation_database = ucs2_lithuanian_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_lithuanian_ci
SET @@session.collation_database = ucs2_slovak_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_slovak_ci
SET @@session.collation_database = ucs2_spanish2_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_spanish2_ci
SET @@session.collation_database = ucs2_roman_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_roman_ci
SET @@session.collation_database = ucs2_persian_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_persian_ci
SET @@session.collation_database = ucs2_esperanto_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_esperanto_ci
SET @@session.collation_database = ucs2_hungarian_ci;
SELECT @@session.collation_database;
@@session.collation_database
ucs2_hungarian_ci
SET @@session.collation_database = cp866_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp866_general_ci
SET @@session.collation_database = cp866_bin;
SELECT @@session.collation_database;
@@session.collation_database
cp866_bin
SET @@session.collation_database = keybcs2_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
keybcs2_general_ci
SET @@session.collation_database = keybcs2_bin;
SELECT @@session.collation_database;
@@session.collation_database
keybcs2_bin
SET @@session.collation_database = macce_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
macce_general_ci
SET @@session.collation_database = macce_bin;
SELECT @@session.collation_database;
@@session.collation_database
macce_bin
SET @@session.collation_database = macroman_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
macroman_general_ci
SET @@session.collation_database = macroman_bin;
SELECT @@session.collation_database;
@@session.collation_database
macroman_bin
SET @@session.collation_database = cp852_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp852_general_ci
SET @@session.collation_database = cp852_bin;
SELECT @@session.collation_database;
@@session.collation_database
cp852_bin
SET @@session.collation_database = latin7_estonian_cs;
SELECT @@session.collation_database;
@@session.collation_database
latin7_estonian_cs
SET @@session.collation_database = latin7_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
latin7_general_ci
SET @@session.collation_database = latin7_general_cs;
SELECT @@session.collation_database;
@@session.collation_database
latin7_general_cs
SET @@session.collation_database = latin7_bin;
SELECT @@session.collation_database;
@@session.collation_database
latin7_bin
SET @@session.collation_database = cp1251_bulgarian_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1251_bulgarian_ci
SET @@session.collation_database = cp1251_ukrainian_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1251_ukrainian_ci
SET @@session.collation_database = cp1251_bin;
SELECT @@session.collation_database;
@@session.collation_database
cp1251_bin
SET @@session.collation_database = cp1251_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1251_general_ci
SET @@session.collation_database = cp1251_general_cs;
SELECT @@session.collation_database;
@@session.collation_database
cp1251_general_cs
SET @@session.collation_database = cp1256_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1256_general_ci
SET @@session.collation_database = cp1256_bin;
SELECT @@session.collation_database;
@@session.collation_database
cp1256_bin
SET @@session.collation_database = cp1257_lithuanian_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1257_lithuanian_ci
SET @@session.collation_database = cp1257_bin;
SELECT @@session.collation_database;
@@session.collation_database
cp1257_bin
SET @@session.collation_database = cp1257_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp1257_general_ci
SET @@session.collation_database = binary;
SELECT @@session.collation_database;
@@session.collation_database
binary
SET @@session.collation_database = geostd8_general_ci;
SELECT @@session.collation_database;
@@session.collation_database
geostd8_general_ci
SET @@session.collation_database = geostd8_bin;
SELECT @@session.collation_database;
@@session.collation_database
geostd8_bin
SET @@session.collation_database = cp932_japanese_ci;
SELECT @@session.collation_database;
@@session.collation_database
cp932_japanese_ci
SET @@session.collation_database = cp932_bin;
SELECT @@session.collation_database;
@@session.collation_database
cp932_bin
SET @@session.collation_database = eucjpms_japanese_ci;
SELECT @@session.collation_database;
@@session.collation_database
eucjpms_japanese_ci
SET @@session.collation_database = eucjpms_bin;
SELECT @@session.collation_database;
@@session.collation_database
eucjpms_bin
'#--------------------FN_DYNVARS_016_07-------------------------#'
SET @@global.collation_database = big5_chinese_ci;
SELECT @@global.collation_database;
@@global.collation_database
big5_chinese_ci
SET @@global.collation_database = big5_bin;
SELECT @@global.collation_database;
@@global.collation_database
big5_bin
SET @@global.collation_database = dec8_swedish_ci;
SELECT @@global.collation_database;
@@global.collation_database
dec8_swedish_ci
SET @@global.collation_database = dec8_bin;
SELECT @@global.collation_database;
@@global.collation_database
dec8_bin
SET @@global.collation_database = cp850_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp850_general_ci
SET @@global.collation_database = cp850_bin;
SELECT @@global.collation_database;
@@global.collation_database
cp850_bin
SET @@global.collation_database = hp8_english_ci;
SELECT @@global.collation_database;
@@global.collation_database
hp8_english_ci
SET @@global.collation_database = hp8_bin;
SELECT @@global.collation_database;
@@global.collation_database
hp8_bin
SET @@global.collation_database = koi8r_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
koi8r_general_ci
SET @@global.collation_database = koi8r_bin;
SELECT @@global.collation_database;
@@global.collation_database
koi8r_bin
SET @@global.collation_database = latin1_german1_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin1_german1_ci
SET @@global.collation_database = latin1_swedish_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin1_swedish_ci
SET @@global.collation_database = latin1_danish_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin1_danish_ci
SET @@global.collation_database = latin1_german2_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin1_german2_ci
SET @@global.collation_database = latin1_bin;
SELECT @@global.collation_database;
@@global.collation_database
latin1_bin
SET @@global.collation_database = latin1_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin1_general_ci
SET @@global.collation_database = latin1_general_cs;
SELECT @@global.collation_database;
@@global.collation_database
latin1_general_cs
SET @@global.collation_database = latin1_spanish_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin1_spanish_ci
SET @@global.collation_database = latin2_czech_cs;
SELECT @@global.collation_database;
@@global.collation_database
latin2_czech_cs
SET @@global.collation_database = latin2_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin2_general_ci
SET @@global.collation_database = latin2_hungarian_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin2_hungarian_ci
SET @@global.collation_database = latin2_croatian_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin2_croatian_ci
SET @@global.collation_database = latin2_bin;
SELECT @@global.collation_database;
@@global.collation_database
latin2_bin
SET @@global.collation_database = swe7_swedish_ci;
SELECT @@global.collation_database;
@@global.collation_database
swe7_swedish_ci
SET @@global.collation_database = swe7_bin;
SELECT @@global.collation_database;
@@global.collation_database
swe7_bin
SET @@global.collation_database = ascii_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
ascii_general_ci
SET @@global.collation_database = ascii_bin;
SELECT @@global.collation_database;
@@global.collation_database
ascii_bin
SET @@global.collation_database = ujis_japanese_ci;
SELECT @@global.collation_database;
@@global.collation_database
ujis_japanese_ci
SET @@global.collation_database = ujis_bin;
SELECT @@global.collation_database;
@@global.collation_database
ujis_bin
SET @@global.collation_database = sjis_japanese_ci;
SELECT @@global.collation_database;
@@global.collation_database
sjis_japanese_ci
SET @@global.collation_database = sjis_bin;
SELECT @@global.collation_database;
@@global.collation_database
sjis_bin
SET @@global.collation_database = hebrew_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
hebrew_general_ci
SET @@global.collation_database = hebrew_bin;
SELECT @@global.collation_database;
@@global.collation_database
hebrew_bin
SET @@global.collation_database = tis620_thai_ci;
SELECT @@global.collation_database;
@@global.collation_database
tis620_thai_ci
SET @@global.collation_database = tis620_bin;
SELECT @@global.collation_database;
@@global.collation_database
tis620_bin
SET @@global.collation_database = euckr_korean_ci;
SELECT @@global.collation_database;
@@global.collation_database
euckr_korean_ci
SET @@global.collation_database = euckr_bin;
SELECT @@global.collation_database;
@@global.collation_database
euckr_bin
SET @@global.collation_database = koi8u_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
koi8u_general_ci
SET @@global.collation_database = koi8u_bin;
SELECT @@global.collation_database;
@@global.collation_database
koi8u_bin
SET @@global.collation_database = gb2312_chinese_ci;
SELECT @@global.collation_database;
@@global.collation_database
gb2312_chinese_ci
SET @@global.collation_database = gb2312_bin;
SELECT @@global.collation_database;
@@global.collation_database
gb2312_bin
SET @@global.collation_database = greek_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
greek_general_ci
SET @@global.collation_database = greek_bin;
SELECT @@global.collation_database;
@@global.collation_database
greek_bin
SET @@global.collation_database = cp1250_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1250_general_ci
SET @@global.collation_database = cp1250_czech_cs;
SELECT @@global.collation_database;
@@global.collation_database
cp1250_czech_cs
SET @@global.collation_database = cp1250_croatian_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1250_croatian_ci
SET @@global.collation_database = cp1250_bin;
SELECT @@global.collation_database;
@@global.collation_database
cp1250_bin
SET @@global.collation_database = cp1250_polish_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1250_polish_ci
SET @@global.collation_database = gbk_chinese_ci;
SELECT @@global.collation_database;
@@global.collation_database
gbk_chinese_ci
SET @@global.collation_database = gbk_bin;
SELECT @@global.collation_database;
@@global.collation_database
gbk_bin
SET @@global.collation_database = latin5_turkish_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin5_turkish_ci
SET @@global.collation_database = latin5_bin;
SELECT @@global.collation_database;
@@global.collation_database
latin5_bin
SET @@global.collation_database = armscii8_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
armscii8_general_ci
SET @@global.collation_database = armscii8_bin;
SELECT @@global.collation_database;
@@global.collation_database
armscii8_bin
SET @@global.collation_database = utf8_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_general_ci
SET @@global.collation_database = utf8_bin;
SELECT @@global.collation_database;
@@global.collation_database
utf8_bin
SET @@global.collation_database = utf8_unicode_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_unicode_ci
SET @@global.collation_database = utf8_icelandic_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_icelandic_ci
SET @@global.collation_database = utf8_latvian_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_latvian_ci
SET @@global.collation_database = utf8_romanian_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_romanian_ci
SET @@global.collation_database = utf8_slovenian_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_slovenian_ci
SET @@global.collation_database = utf8_polish_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_polish_ci
SET @@global.collation_database = utf8_estonian_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_estonian_ci
SET @@global.collation_database = utf8_spanish_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_spanish_ci
SET @@global.collation_database = utf8_swedish_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_swedish_ci
SET @@global.collation_database = utf8_turkish_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_turkish_ci
SET @@global.collation_database = utf8_czech_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_czech_ci
SET @@global.collation_database = utf8_danish_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_danish_ci
SET @@global.collation_database = utf8_lithuanian_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_lithuanian_ci
SET @@global.collation_database = utf8_slovak_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_slovak_ci
SET @@global.collation_database = utf8_spanish2_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_spanish2_ci
SET @@global.collation_database = utf8_roman_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_roman_ci
SET @@global.collation_database = utf8_persian_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_persian_ci
SET @@global.collation_database = utf8_esperanto_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_esperanto_ci
SET @@global.collation_database = utf8_hungarian_ci;
SELECT @@global.collation_database;
@@global.collation_database
utf8_hungarian_ci
SET @@global.collation_database = ucs2_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_general_ci
SET @@global.collation_database = ucs2_bin;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_bin
SET @@global.collation_database = ucs2_unicode_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_unicode_ci
SET @@global.collation_database = ucs2_icelandic_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_icelandic_ci
SET @@global.collation_database = ucs2_latvian_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_latvian_ci
SET @@global.collation_database = ucs2_romanian_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_romanian_ci
SET @@global.collation_database = ucs2_slovenian_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_slovenian_ci
SET @@global.collation_database = ucs2_polish_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_polish_ci
SET @@global.collation_database = ucs2_estonian_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_estonian_ci
SET @@global.collation_database = ucs2_spanish_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_spanish_ci
SET @@global.collation_database = ucs2_swedish_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_swedish_ci
SET @@global.collation_database = ucs2_turkish_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_turkish_ci
SET @@global.collation_database = ucs2_czech_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_czech_ci
SET @@global.collation_database = ucs2_danish_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_danish_ci
SET @@global.collation_database = ucs2_lithuanian_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_lithuanian_ci
SET @@global.collation_database = ucs2_slovak_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_slovak_ci
SET @@global.collation_database = ucs2_spanish2_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_spanish2_ci
SET @@global.collation_database = ucs2_roman_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_roman_ci
SET @@global.collation_database = ucs2_persian_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_persian_ci
SET @@global.collation_database = ucs2_esperanto_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_esperanto_ci
SET @@global.collation_database = ucs2_hungarian_ci;
SELECT @@global.collation_database;
@@global.collation_database
ucs2_hungarian_ci
SET @@global.collation_database = cp866_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp866_general_ci
SET @@global.collation_database = cp866_bin;
SELECT @@global.collation_database;
@@global.collation_database
cp866_bin
SET @@global.collation_database = keybcs2_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
keybcs2_general_ci
SET @@global.collation_database = keybcs2_bin;
SELECT @@global.collation_database;
@@global.collation_database
keybcs2_bin
SET @@global.collation_database = macce_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
macce_general_ci
SET @@global.collation_database = macce_bin;
SELECT @@global.collation_database;
@@global.collation_database
macce_bin
SET @@global.collation_database = macroman_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
macroman_general_ci
SET @@global.collation_database = macroman_bin;
SELECT @@global.collation_database;
@@global.collation_database
macroman_bin
SET @@global.collation_database = cp852_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp852_general_ci
SET @@global.collation_database = cp852_bin;
SELECT @@global.collation_database;
@@global.collation_database
cp852_bin
SET @@global.collation_database = latin7_estonian_cs;
SELECT @@global.collation_database;
@@global.collation_database
latin7_estonian_cs
SET @@global.collation_database = latin7_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
latin7_general_ci
SET @@global.collation_database = latin7_general_cs;
SELECT @@global.collation_database;
@@global.collation_database
latin7_general_cs
SET @@global.collation_database = latin7_bin;
SELECT @@global.collation_database;
@@global.collation_database
latin7_bin
SET @@global.collation_database = cp1251_bulgarian_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1251_bulgarian_ci
SET @@global.collation_database = cp1251_ukrainian_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1251_ukrainian_ci
SET @@global.collation_database = cp1251_bin;
SELECT @@global.collation_database;
@@global.collation_database
cp1251_bin
SET @@global.collation_database = cp1251_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1251_general_ci
SET @@global.collation_database = cp1251_general_cs;
SELECT @@global.collation_database;
@@global.collation_database
cp1251_general_cs
SET @@global.collation_database = cp1256_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1256_general_ci
SET @@global.collation_database = cp1256_bin;
SELECT @@global.collation_database;
@@global.collation_database
cp1256_bin
SET @@global.collation_database = cp1257_lithuanian_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1257_lithuanian_ci
SET @@global.collation_database = cp1257_bin;
SELECT @@global.collation_database;
@@global.collation_database
cp1257_bin
SET @@global.collation_database = cp1257_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp1257_general_ci
SET @@global.collation_database = binary;
SELECT @@global.collation_database;
@@global.collation_database
binary
SET @@global.collation_database = geostd8_general_ci;
SELECT @@global.collation_database;
@@global.collation_database
geostd8_general_ci
SET @@global.collation_database = geostd8_bin;
SELECT @@global.collation_database;
@@global.collation_database
geostd8_bin
SET @@global.collation_database = cp932_japanese_ci;
SELECT @@global.collation_database;
@@global.collation_database
cp932_japanese_ci
SET @@global.collation_database = cp932_bin;
SELECT @@global.collation_database;
@@global.collation_database
cp932_bin
SET @@global.collation_database = eucjpms_japanese_ci;
SELECT @@global.collation_database;
@@global.collation_database
eucjpms_japanese_ci
SET @@global.collation_database = eucjpms_bin;
SELECT @@global.collation_database;
@@global.collation_database
eucjpms_bin
'#--------------------FN_DYNVARS_016_08-------------------------#'
SET @@collation_database = LATIN7_GENERAL_CS;
SELECT @@collation_database;
@@collation_database
latin7_general_cs
SET @@collation_database = latin7_general_cs;
SELECT @@collation_database;
@@collation_database
latin7_general_cs
SET @@global.collation_database = Latin7_GeneRal_cS;
SELECT @@global.collation_database;
@@global.collation_database
latin7_general_cs
'#--------------------FN_DYNVARS_016_09-------------------------#'
SET @@collation_database = 1;
SELECT @@collation_database;
@@collation_database
big5_chinese_ci
SET @@collation_database = 2;
SELECT @@collation_database;
@@collation_database
latin2_czech_cs
SET @@collation_database = 3;
SELECT @@collation_database;
@@collation_database
dec8_swedish_ci
SET @@collation_database = 99;
SELECT @@collation_database;
@@collation_database
cp1250_polish_ci
SET @@collation_database = 100;
ERROR HY000: Unknown collation: '100'
SET @@global.collation_database = 1;
SELECT @@global.collation_database;
@@global.collation_database
big5_chinese_ci
SET @@global.collation_database = 2;
SELECT @@global.collation_database;
@@global.collation_database
latin2_czech_cs
SET @@global.collation_database = 3;
SELECT @@global.collation_database;
@@global.collation_database
dec8_swedish_ci
SET @@global.collation_database = 99;
SELECT @@global.collation_database;
@@global.collation_database
cp1250_polish_ci
SET @@global.collation_database = 100;
ERROR HY000: Unknown collation: '100'
SET @total_collations = (SELECT count(*) FROM INFORMATION_SCHEMA.COLLATIONS);
SELECT @total_collations > 120;
@total_collations > 120
1
'#--------------------FN_DYNVARS_016_10-------------------------#'
SET @@collation_database = latin7_binary;
ERROR HY000: Unknown collation: 'latin7_binary'
SET @@collation_database = 'eucjpms_japanese_cs';
ERROR HY000: Unknown collation: 'eucjpms_japanese_cs'
SET @@collation_database = 0;
ERROR HY000: Unknown collation: '0'
SET @@collation_database = 1.01;
ERROR 42000: Incorrect argument type to variable 'collation_database'
SET @@collation_database = -1;
ERROR HY000: Unknown collation: '-1'
SET @@collation_database = '';
ERROR HY000: Unknown collation: ''
SET @@collation_database = ' eucjpms_bin';
ERROR HY000: Unknown collation: ' eucjpms_bin'
SET @@collation_database = true;
SELECT @@collation_database AS res_with_true;
res_with_true
big5_chinese_ci
SET @@collation_database = ON;
ERROR HY000: Unknown collation: 'ON'
'#--------------------FN_DYNVARS_016_11-------------------------#'
SET @@global.collation_database = latin7_binary;
ERROR HY000: Unknown collation: 'latin7_binary'
SET @@global.collation_database = 'eucjpms_japanese_cs';
ERROR HY000: Unknown collation: 'eucjpms_japanese_cs'
SET @@global.collation_database = 0;
ERROR HY000: Unknown collation: '0'
SET @@global.collation_database = 1.1;
ERROR 42000: Incorrect argument type to variable 'collation_database'
SET @@global.collation_database = -1;
ERROR HY000: Unknown collation: '-1'
SET @@global.collation_database = "";
ERROR HY000: Unknown collation: ''
SET @@global.collation_database = ' eucjpms_bin';
ERROR HY000: Unknown collation: ' eucjpms_bin'
SET @@global.collation_database = true;
SET @@global.collation_database = ON;
ERROR HY000: Unknown collation: 'ON'
'#--------------------FN_DYNVARS_016_12-------------------------#'
SELECT @@global.collation_database =
(SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='collation_database') AS res;
res
1
SET @@global.collation_database = 1;
SELECT @@global.collation_database;
@@global.collation_database
big5_chinese_ci
SELECT @@global.collation_database =
(SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='collation_database') AS res;
res
1
'#--------------------FN_DYNVARS_016_13-------------------------#'
SELECT @@collation_database =
(SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='collation_database') AS res;
res
1
SELECT @@local.collation_database =
(SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='collation_database') AS res;
res
1
SELECT @@session.collation_database =
(SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='collation_database') AS res;
res
1
SET @@global.collation_database = @global_start_value;
SELECT @@global.collation_database;
@@global.collation_database
latin1_swedish_ci
SET @@session.collation_database = @session_start_value;
SELECT @@session.collation_database;
@@session.collation_database
latin1_swedish_ci