Kenji Maruyama
null+****@clear*****
Thu Dec 12 15:26:25 JST 2013
Kenji Maruyama 2013-12-12 15:26:25 +0900 (Thu, 12 Dec 2013) New Revision: 17c4b9dbe3f8e7c30dbe6d05d96808498568663f https://github.com/mroonga/mroonga/commit/17c4b9dbe3f8e7c30dbe6d05d96808498568663f Message: test: mysqldump lock table read refs #2098 Added files: mysql-test/mroonga/storage/mysqldump/t/lock_table_read.test Added: mysql-test/mroonga/storage/mysqldump/t/lock_table_read.test (+32 -0) 100644 =================================================================== --- /dev/null +++ mysql-test/mroonga/storage/mysqldump/t/lock_table_read.test 2013-12-12 15:26:25 +0900 (9e180ab) @@ -0,0 +1,32 @@ +# Copyright(C) 2013 Kenji Maruyama <mmmaru777 �� gmail.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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +--source ../../../include/mroonga/have_mroonga.inc + +--disable_warnings +DROP TABLE IF EXISTS counts; +--enable_warnings + +CREATE TABLE counts ( + id INT PRIMARY KEY AUTO_INCREMENT +); + +LOCK TABLES counts READ; +UNLOCK TABLES; + +DROP TABLE counts; + +--source ../../../include/mroonga/have_mroonga_deinit.inc -------------- next part -------------- HTML����������������������������...Download