mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
699a87110d
"mysql_upgrade (ver 5.1) add 3 fields to mysql.proc table but does not set values". mysql_upgrade (ver 5.1) adds 3 fields (character_set_client, collation_connection and db_collation) to the mysql.proc table, but does not set any values. When we run stored procedures, which were created with mysql 5.0, a warning is logged into the error log. The solution to this is for mysql_upgrade to set default best guess values for these fields. A warning is also written during upgrade, to make the user aware that default values are set. client/mysql_upgrade.c: Result lines which start with "WARNING" are passed through to the output. This way we have a way of triggering WARNING-messages during upgrade directly from the .sql-script. mysql-test/r/mysql_upgrade.result: Expected result of the test. mysql-test/t/mysql_upgrade.test: Added a test-case for the bug. scripts/mysql_system_tables_fix.sql: The new fields are populated, and warnings are written. |
||
---|---|---|
.. | ||
.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 |