From 206e931d66490666af824da9de294e16b888d6a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Mon, 11 Jul 2016 13:16:58 +0300 Subject: [PATCH] General spell fixes in comments of TokuDB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contribution released with the BSD 2-clause license and thus available for any MySQL variant to use freely. Copyright (c) 2016 Otto Kekäläinen All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Signed-off-by: Otto Kekäläinen --- storage/tokudb/ha_tokudb.cc | 2 +- storage/tokudb/tokudb_update_fun.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/tokudb/ha_tokudb.cc b/storage/tokudb/ha_tokudb.cc index dd9721807778..3230543aff7b 100644 --- a/storage/tokudb/ha_tokudb.cc +++ b/storage/tokudb/ha_tokudb.cc @@ -6580,7 +6580,7 @@ int ha_tokudb::external_lock(THD * thd, int lock_type) { This happens if the thread didn't update any rows We must in this case commit the work to keep the row locks */ - DBUG_PRINT("trans", ("commiting non-updating transaction")); + DBUG_PRINT("trans", ("committing non-updating transaction")); reset_stmt_progress(&trx->stmt_progress); commit_txn(trx->stmt, 0); trx->stmt = NULL; diff --git a/storage/tokudb/tokudb_update_fun.cc b/storage/tokudb/tokudb_update_fun.cc index 05149d17317b..9791cc726985 100644 --- a/storage/tokudb/tokudb_update_fun.cc +++ b/storage/tokudb/tokudb_update_fun.cc @@ -147,7 +147,7 @@ enum { // field null num 4 bit 31 is 1 if the field is nullible and the // remaining bits contain the null bit number // field offset 4 for fixed fields, this is the offset from -// begining of the row of the field +// beginning of the row of the field // value: // value length 4 == N, length of the value // value N value to add or subtract