1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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.
This commit is contained in:
Davi Arnaut
2010-02-26 09:22:48 -03:00
parent 04f1434781
commit 5dd3b617d4
6 changed files with 99 additions and 2 deletions

Binary file not shown.

View File

@@ -0,0 +1 @@
"2010-02-26 13:32:26","root[root] @ localhost []",2,1,"Query","SELECT 1"
1 2010-02-26 13:32:26 root[root] @ localhost [] 2 1 Query SELECT 1

Binary file not shown.