mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
Two separate problems. A key buffer was too small in sp.cc for multi-byte fields, and the creation and fixing of mysql.proc in the scripts hadn't been updated with the correct character sets and collations (like the other system tables had). Note: No special test case, as the use of utf8 for mysql.proc will make any existing crash (if the buffer overrrun wasn't fixed). mysql-test/r/sp-error.result: Updated test case for too long SP names (as the limit has increased with the use of utf8). mysql-test/t/sp-error.test: Updated test case for too long SP names (as the limit has increased with the use of utf8). scripts/mysql_create_system_tables.sh: Use utf8 for mysql.proc, just like for the other system tables. scripts/mysql_fix_privilege_tables.sql: Use utf8 for mysql.proc, just like for the other system tables. (Some tabs also replaced by space) sql/sp.cc: Use a larger key buffer for stored procedures to avoid stack overrun with multi-byte keys. |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| fill_func_tables.sh | ||
| fill_help_tables.sh | ||
| fill_help_tables.sql | ||
| make_binary_distribution.sh | ||
| make_sharedlib_distribution.sh | ||
| make_win_binary_distribution.sh | ||
| make_win_src_distribution.sh | ||
| Makefile.am | ||
| msql2mysql.sh | ||
| mysql_config.sh | ||
| mysql_convert_table_format.sh | ||
| mysql_create_system_tables.sh | ||
| mysql_explain_log.sh | ||
| mysql_find_rows.sh | ||
| mysql_fix_extensions.sh | ||
| mysql_fix_privilege_tables.sh | ||
| mysql_fix_privilege_tables.sql | ||
| mysql_install_db.sh | ||
| mysql_prepare_privilege_tables_for_5.sql | ||
| mysql_secure_installation.sh | ||
| mysql_setpermission.sh | ||
| mysql_tableinfo.sh | ||
| mysql_zap.sh | ||
| mysqlaccess.conf | ||
| mysqlaccess.sh | ||
| mysqlbug.sh | ||
| mysqld_multi.sh | ||
| mysqld_safe-watch.sh | ||
| mysqld_safe.sh | ||
| mysqldumpslow.sh | ||
| mysqlhotcopy.sh | ||