Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from naoa/add-option-for-disable-record-opera…
…tion Add mroonga_enable_operations_recording variable Patch by Naoya Murakami. Thanks!!!
- Loading branch information
Showing
6 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
mysql-test/mroonga/storage/variable/enable_operations_recording/r/insert.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| SET GLOBAL mroonga_enable_operations_recording = true; | ||
| FLUSH TABLES; | ||
| CREATE TABLE diaries ( | ||
| title TEXT | ||
| ) DEFAULT CHARSET=utf8; | ||
| INSERT INTO diaries VALUES("Research for Mroonga"); | ||
| SELECT * FROM diaries; | ||
| title | ||
| Research for Mroonga | ||
| DROP TABLE diaries; | ||
| SET GLOBAL mroonga_enable_operations_recording = false; | ||
| FLUSH TABLES; |
36 changes: 36 additions & 0 deletions
36
mysql-test/mroonga/storage/variable/enable_operations_recording/t/insert.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # Copyright(C) 2017 Naoya Murakami <naoya@createfield.com> | ||
| # | ||
| # This library is free software; you can redistribute it and/or | ||
| # modify it under the terms of the GNU Lesser General Public | ||
| # License as published by the Free Software Foundation; either | ||
| # version 2.1 of the License, or (at your option) any later version. | ||
| # | ||
| # This library is distributed in the hope that it will be useful, | ||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| # Lesser General Public License for more details. | ||
| # | ||
| # You should have received a copy of the GNU Lesser General Public | ||
| # License along with this library; if not, write to the Free Software | ||
| # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
|
|
||
| --source ../../../../include/mroonga/have_mroonga.inc | ||
| --source ../../../../include/mroonga/have_mroonga_helper.inc | ||
|
|
||
| SET GLOBAL mroonga_enable_operations_recording = true; | ||
| FLUSH TABLES; | ||
|
|
||
| CREATE TABLE diaries ( | ||
| title TEXT | ||
| ) DEFAULT CHARSET=utf8; | ||
|
|
||
| INSERT INTO diaries VALUES("Research for Mroonga"); | ||
|
|
||
| SELECT * FROM diaries; | ||
|
|
||
| DROP TABLE diaries; | ||
|
|
||
| SET GLOBAL mroonga_enable_operations_recording = false; | ||
| FLUSH TABLES; | ||
|
|
||
| --source ../../../../include/mroonga/have_mroonga_deinit.inc |