DROP TABLE IF EXISTS users;
CREATE TABLE users (
id int NOT NULL PRIMARY KEY,
first_name varchar(100) NOT NULL,
last_name varchar(100) NOT NULL,
age int NOT NULL,
UNIQUE KEY name (first_name, last_name)
) DEFAULT CHARSET=utf8mb4;
INSERT INTO users VALUES (1, 'Alice', 'Smith', 29);
SET GLOBAL mroonga_log_file = "groonga-update.log";
UPDATE users SET age = 12 WHERE id = 1;
log file is changed: <groonga.log> -> <groonga-update.log>
SET GLOBAL mroonga_log_file = DEFAULT;
SELECT * FROM users;
id	first_name	last_name	age
1	Alice	Smith	12
DROP TABLE users;
