mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
c5bb49d020
The problem is that creating a event could fail if the value of the variable server_id didn't fit in the originator column of the event system table. The cause is two-fold: it was possible to set server_id to a value outside the documented range (from 0 to 2^32-1) and the originator column of the event table didn't have enough room for values in this range. The log tables (general_log and slow_log) also don't have a proper column type to store the server_id and having a large server_id value could prevent queries from being logged. The solution is to ensure that all system tables that store the server_id value have a proper column type (int unsigned) and that the variable can't be set to a value that is not within the range. |
||
---|---|---|
.. | ||
.cvsignore | ||
CMakeLists.txt | ||
comp_sql.c | ||
fill_help_tables.sql | ||
make_binary_distribution.sh | ||
make_sharedlib_distribution.sh | ||
make_win_bin_dist | ||
Makefile.am | ||
msql2mysql.sh | ||
mysql_config.pl.in | ||
mysql_config.sh | ||
mysql_convert_table_format.sh | ||
mysql_find_rows.sh | ||
mysql_fix_extensions.sh | ||
mysql_fix_privilege_tables.sh | ||
mysql_install_db.pl.in | ||
mysql_install_db.sh | ||
mysql_secure_installation.pl.in | ||
mysql_secure_installation.sh | ||
mysql_setpermission.sh | ||
mysql_system_tables.sql | ||
mysql_system_tables_data.sql | ||
mysql_system_tables_fix.sql | ||
mysql_test_data_timezone.sql | ||
mysql_zap.sh | ||
mysqlaccess.conf | ||
mysqlaccess.sh | ||
mysqlbug.sh | ||
mysqld_multi.sh | ||
mysqld_safe.sh | ||
mysqldumpslow.sh | ||
mysqlhotcopy.sh |