mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
merge with 5.3
sql/sql_insert.cc: CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. ****** CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. sql/sql_table.cc: small cleanup ****** small cleanup
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
-- Copyright (C) 2003, 2010 Oracle and/or its affiliates. All rights reserved.
|
||||
-- Copyright (C) 2003, 2010 Oracle and/or its affiliates.
|
||||
-- Copyright (C) 2010, 2011 Monty Program Ab
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
@ -233,7 +234,7 @@ ALTER TABLE func
|
||||
SET @old_log_state = @@global.general_log;
|
||||
SET GLOBAL general_log = 'OFF';
|
||||
ALTER TABLE general_log
|
||||
MODIFY event_time TIMESTAMP NOT NULL,
|
||||
MODIFY event_time TIMESTAMP(6) NOT NULL,
|
||||
MODIFY user_host MEDIUMTEXT NOT NULL,
|
||||
MODIFY thread_id INTEGER NOT NULL,
|
||||
MODIFY server_id INTEGER UNSIGNED NOT NULL,
|
||||
@ -244,10 +245,10 @@ SET GLOBAL general_log = @old_log_state;
|
||||
SET @old_log_state = @@global.slow_query_log;
|
||||
SET GLOBAL slow_query_log = 'OFF';
|
||||
ALTER TABLE slow_log
|
||||
MODIFY start_time TIMESTAMP NOT NULL,
|
||||
MODIFY start_time TIMESTAMP(6) NOT NULL,
|
||||
MODIFY user_host MEDIUMTEXT NOT NULL,
|
||||
MODIFY query_time TIME NOT NULL,
|
||||
MODIFY lock_time TIME NOT NULL,
|
||||
MODIFY query_time TIME(6) NOT NULL,
|
||||
MODIFY lock_time TIME(6) NOT NULL,
|
||||
MODIFY rows_sent INTEGER NOT NULL,
|
||||
MODIFY rows_examined INTEGER NOT NULL,
|
||||
MODIFY db VARCHAR(512) NOT NULL,
|
||||
|
Reference in New Issue
Block a user