1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

ha_berkeley.cc fixed misleading comment

sql_parse.cc	typo when checking for autocommit


sql/sql_parse.cc:
  typo when checking for autocommit
sql/ha_berkeley.cc:
  fixed misleading comment
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
This commit is contained in:
unknown
2000-11-15 08:34:18 +01:00
parent dcf4e49369
commit 1ba95db25f
3 changed files with 5 additions and 3 deletions

View File

@ -1374,8 +1374,9 @@ int ha_berkeley::external_lock(THD *thd, int lock_type)
&& !(thd->options & OPTION_BEGIN))
{
/*
F_UNLOCK is done without a transaction commit / rollback. This
means that something went wrong.
F_UNLOCK is done without a transaction commit / rollback.
This happens if the thread didn't update any rows or if
something went wrong during an update.
We can in this case silenty abort the transaction.
*/
DBUG_PRINT("trans",("aborting transaction"));