Commit 90914282 authored by unknown's avatar unknown

BUG#32050 - table logging gone wrong.

Reverted log tables alteration.


scripts/mysql_system_tables_fix.sql:
  Altering log table is wrong, because
  - it is not possible to alter log table when it is in use;
  - log table may use MyISAM engine, which perfectly supports NULLs.
  
  Reverted log tables alteration.
parent f41ba187
...@@ -513,22 +513,6 @@ ALTER TABLE tables_priv MODIFY Table_priv set('Select','Insert','Update','Delete ...@@ -513,22 +513,6 @@ ALTER TABLE tables_priv MODIFY Table_priv set('Select','Insert','Update','Delete
UPDATE user SET Trigger_priv=Super_priv WHERE @hadTriggerPriv = 0; UPDATE user SET Trigger_priv=Super_priv WHERE @hadTriggerPriv = 0;
#
# Log Table
#
ALTER TABLE general_log
MODIFY COLUMN user_host MEDIUMTEXT NOT NULL,
MODIFY COLUMN thread_id INTEGER NOT NULL,
MODIFY COLUMN server_id INTEGER NOT NULL,
MODIFY COLUMN command_type VARCHAR(64) NOT NULL,
MODIFY COLUMN argument MEDIUMTEXT NOT NULL;
ALTER TABLE slow_log
MODIFY COLUMN db VARCHAR(512) NOT NULL,
MODIFY COLUMN last_insert_id INTEGER NOT NULL,
MODIFY COLUMN insert_id INTEGER NOT NULL,
MODIFY COLUMN server_id INTEGER NOT NULL;
# Activate the new, possible modified privilege tables # Activate the new, possible modified privilege tables
# This should not be needed, but gives us some extra testing that the above # This should not be needed, but gives us some extra testing that the above
# changes was correct # changes was correct
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment