Commit de42e5e1 authored by heikki@hundin.mysql.fi's avatar heikki@hundin.mysql.fi

Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1

into hundin.mysql.fi:/home/heikki/mysql-4.1
parents e39ba639 aefe018b
...@@ -3305,12 +3305,12 @@ row_search_for_mysql( ...@@ -3305,12 +3305,12 @@ row_search_for_mysql(
err = sel_set_rec_lock(rec, index, err = sel_set_rec_lock(rec, index,
prebuilt->select_lock_type, prebuilt->select_lock_type,
LOCK_ORDINARY, thr); LOCK_ORDINARY, thr);
} if (err != DB_SUCCESS) {
if (err != DB_SUCCESS) {
goto lock_wait_or_error; goto lock_wait_or_error;
}
} }
} }
/* A page supremum record cannot be in the result set: skip /* A page supremum record cannot be in the result set: skip
it now that we have placed a possible lock on it */ it now that we have placed a possible lock on it */
...@@ -3413,12 +3413,12 @@ row_search_for_mysql( ...@@ -3413,12 +3413,12 @@ row_search_for_mysql(
err = sel_set_rec_lock(rec, index, err = sel_set_rec_lock(rec, index,
prebuilt->select_lock_type, prebuilt->select_lock_type,
LOCK_GAP, thr); LOCK_GAP, thr);
} if (err != DB_SUCCESS) {
if (err != DB_SUCCESS) {
goto lock_wait_or_error; goto lock_wait_or_error;
}
} }
} }
btr_pcur_store_position(pcur, &mtr); btr_pcur_store_position(pcur, &mtr);
...@@ -3446,12 +3446,12 @@ row_search_for_mysql( ...@@ -3446,12 +3446,12 @@ row_search_for_mysql(
err = sel_set_rec_lock(rec, index, err = sel_set_rec_lock(rec, index,
prebuilt->select_lock_type, prebuilt->select_lock_type,
LOCK_GAP, thr); LOCK_GAP, thr);
} if (err != DB_SUCCESS) {
if (err != DB_SUCCESS) { goto lock_wait_or_error;
}
goto lock_wait_or_error;
} }
} }
btr_pcur_store_position(pcur, &mtr); btr_pcur_store_position(pcur, &mtr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment