Logo
Explore Help
Sign In
1berry/MariaDB-server
1
0
Fork 0
You've already forked MariaDB-server
Code Issues Packages Projects Releases Wiki Activity
MariaDB-server/mysql-test/std_data/bug49823.CSV

2 lines
73 B
Plaintext
Raw Permalink Normal View History

Bug#49823: mysql_upgrade fatal error due to general_log / slow_low CSV NULL The problem was that the CSV storage engine does not support NULL fields, yet in some early 5.1 version the log tables (general_log and slow_log) were created with null fields. On top of this, when altering a CSV table column, all fields of the table must be NOT NULL otherwise the alteration fails. The solution is to ensure that during upgrade all columns of the log tables are NOT NULL. mysql-test/r/log_tables_upgrade.result: Add test case result for Bug#49823. mysql-test/std_data/bug49823.CSV: Sample data for test. mysql-test/std_data/bug49823.frm: Add a CSV table which mimics the general_log table, except that it contains a nullable column. mysql-test/t/log_tables_upgrade.test: Add test case for Bug#49823. scripts/mysql_system_tables_fix.sql: Ensure that all columns of the log tables are NOT NULL.
2010-02-26 09:22:48 -03:00
"2010-02-26 13:32:26","root[root] @ localhost []",2,1,"Query","SELECT 1"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 901ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API