summaryrefslogtreecommitdiff
path: root/mysql-test/t/max_allowed_packet_basic.test
Commit message (Collapse)AuthorAgeFilesLines
* WL#4681: Took the system variable tests out of the main test suite, put them ↵Horst Hunger2008-12-191-231/+0
| | | | into "sys_vars", updated some reult files and tests.
* A fix for Bug#22891 "session level max_allowed_packet can beStaale Smedseng2008-11-201-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | set but is ignored". This patch makes @@session.max_allowed_packed and @@session.net_buffer_length read-only as suggested in the bug report. The user will have to use SET GLOBAL (and reconnect) to alter the session values of these variables. The error string ER_VARIABLE_IS_READONLY is introduced. Tests are modified accordingly. sql/set_var.cc: The class sys_var_thd_ulong_session_readonly is introduced as a specialization of sys_var_thd_ulong implementing a read-only session variable. The class overrides check() and check_default() to achieve the read-only property for the session part of the variable. sql/set_var.h: The class sys_var_thd_ulong_session_readonly is introduced as a specialization of sys_var_thd_ulong implementing a read-only session variable. The class overrides check() and check_default() to achieve the read-only property for the session part of the variable. sql/share/errmsg.txt: New error ER_VARIABLE_IS_READONLY.
* System variable tests delivered by Folio3 (see WL4288).unknown2008-04-101-0/+216
BitKeeper/etc/ignore: Added mysql-test/linux_sys_vars.inc mysql-test/load_sysvars.inc mysql-test/windows_sys_vars.inc to the ignore list