mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Cset exclude: msvensson@pilot.(none)|ChangeSet|20070827092310|49459
scripts/mysql_system_tables.sql: Exclude
This commit is contained in:
parent
216c4dd3c8
commit
caf6f3d9e4
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ CREATE TABLE IF NOT EXISTS procs_priv ( Host char(60) binary DEFAULT '' NOT NULL
|
||||||
|
|
||||||
-- Create general_log if CSV is enabled.
|
-- Create general_log if CSV is enabled.
|
||||||
|
|
||||||
SET @str = IF (@@have_csv = 'YES', 'CREATE TABLE IF NOT EXISTS general_log (event_time TIMESTAMP NOT NULL, user_host MEDIUMTEXT, thread_id INTEGER, server_id INTEGER, command_type VARCHAR(64), argument MEDIUMTEXT) engine=CSV CHARACTER SET utf8 comment=''General log''', 'SET @dummy = 0');
|
SET @str = IF (@@have_csv = 'YES', 'CREATE TABLE IF NOT EXISTS general_log (event_time TIMESTAMP NOT NULL, user_host MEDIUMTEXT, thread_id INTEGER, server_id INTEGER, command_type VARCHAR(64), argument MEDIUMTEXT) engine=CSV CHARACTER SET utf8 comment="General log"', 'SET @dummy = 0');
|
||||||
|
|
||||||
PREPARE stmt FROM @str;
|
PREPARE stmt FROM @str;
|
||||||
EXECUTE stmt;
|
EXECUTE stmt;
|
||||||
|
@ -73,7 +73,7 @@ DROP PREPARE stmt;
|
||||||
|
|
||||||
-- Create slow_log if CSV is enabled.
|
-- Create slow_log if CSV is enabled.
|
||||||
|
|
||||||
SET @str = IF (@@have_csv = 'YES', 'CREATE TABLE IF NOT EXISTS slow_log (start_time TIMESTAMP NOT NULL, user_host MEDIUMTEXT NOT NULL, query_time TIME NOT NULL, lock_time TIME NOT NULL, rows_sent INTEGER NOT NULL, rows_examined INTEGER NOT NULL, db VARCHAR(512), last_insert_id INTEGER, insert_id INTEGER, server_id INTEGER, sql_text MEDIUMTEXT NOT NULL) engine=CSV CHARACTER SET utf8 comment=''Slow log''', 'SET @dummy = 0');
|
SET @str = IF (@@have_csv = 'YES', 'CREATE TABLE IF NOT EXISTS slow_log (start_time TIMESTAMP NOT NULL, user_host MEDIUMTEXT NOT NULL, query_time TIME NOT NULL, lock_time TIME NOT NULL, rows_sent INTEGER NOT NULL, rows_examined INTEGER NOT NULL, db VARCHAR(512), last_insert_id INTEGER, insert_id INTEGER, server_id INTEGER, sql_text MEDIUMTEXT NOT NULL) engine=CSV CHARACTER SET utf8 comment="Slow log"', 'SET @dummy = 0');
|
||||||
|
|
||||||
PREPARE stmt FROM @str;
|
PREPARE stmt FROM @str;
|
||||||
EXECUTE stmt;
|
EXECUTE stmt;
|
||||||
|
|
Loading…
Reference in a new issue