~drizzle-trunk/drizzle/development

  • Committer: Stewart Smith
  • Author(s): Marko Mäkelä, Stewart Smith
  • Date: 2010-11-17 04:46:27 UTC
  • mto: (2021.1.2 build)
  • Revision ID: stewart@flamingspork.com-20101117044627-9kptr6itvcgppcb2
Merge Revision revid:marko.makela@oracle.com-20100602103714-0nwxdqskeb1ihozj from MySQL InnoDB

Original revid:marko.makela@oracle.com-20100602103714-0nwxdqskeb1ihozj

Original Authors: Marko Mkel <marko.makela@oracle.com>
Original commit message:
Bug#53674: InnoDB: Error: unlock row could not find a 4 mode lock on the record

In semi-consistent read, only unlock freshly locked non-matching records.

lock_rec_lock_fast(): Return LOCK_REC_SUCCESS,
LOCK_REC_SUCCESS_CREATED, or LOCK_REC_FAIL instead of TRUE/FALSE.

enum db_err: Add DB_SUCCESS_LOCKED_REC for indicating a successful
operation where a record lock was created.

lock_sec_rec_read_check_and_lock(),
lock_clust_rec_read_check_and_lock(), lock_rec_enqueue_waiting(),
lock_rec_lock_slow(), lock_rec_lock(), row_ins_set_shared_rec_lock(),
row_ins_set_exclusive_rec_lock(), sel_set_rec_lock(),
row_sel_get_clust_rec_for_mysql(): Return DB_SUCCESS_LOCKED_REC if a
new record lock was created. Adjust callers.

row_unlock_for_mysql(): Correct the function documentation.

row_prebuilt_t::new_rec_locks: Correct the documentation.
Filename Latest Rev Last Changed Committer Comment Size
..
mingw 1720.1.5 14 years ago Monty Taylor Added libdrizzle to the tree. Diff
windows 1720.1.5 14 years ago Monty Taylor Added libdrizzle to the tree. Diff
alloca.c 1800.3.1 14 years ago Vijay Samuel Merge change of <config.h> to "config.h" 13.6 KB Diff Download File
alloca.h 1712.1.1 14 years ago Monty Taylor Merged libdrizzle directly into tree. 1.8 KB Diff Download File
conn_uds.c 1799.2.4 14 years ago Monty Taylor Made BSD files reference root BSD file. 781 bytes Diff Download File
drizzle.sln 1720.1.5 14 years ago Monty Taylor Added libdrizzle to the tree. 884 bytes Diff Download File
include.am 1769.2.1 14 years ago Monty Taylor Include files in tarball that were being left out. 488 bytes Diff Download File
libdrizzle.vcproj 1720.1.5 14 years ago Monty Taylor Added libdrizzle to the tree. 8.4 KB Diff Download File