Commit 9c2446f3 authored by unknown's avatar unknown
Browse files

Merge from 4.1


innobase/fil/fil0fil.c:
  Auto merged
innobase/row/row0sel.c:
  Auto merged
mysql-test/Makefile.am:
  Auto merged
mysql-test/t/ctype_ucs_binlog.test:
  Auto merged
parents 26d75744 338df0b7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1450,7 +1450,8 @@ fil_write_flushed_lsn_to_data_files(
		cache. Note that all data files in the system tablespace 0 are
		always open. */

		if (space->purpose == FIL_TABLESPACE) {
		if (space->purpose == FIL_TABLESPACE
		    && space->id == 0) {
			sum_of_sizes = 0;

			node = UT_LIST_GET_FIRST(space->chain);
+12 −12
Original line number Diff line number Diff line
@@ -3493,13 +3493,13 @@ row_search_for_mysql(
				err = sel_set_rec_lock(rec, index, offsets,
						prebuilt->select_lock_type,
						LOCK_ORDINARY, thr);
			}

				if (err != DB_SUCCESS) {

					goto lock_wait_or_error;
				}
			}

		}
		/* A page supremum record cannot be in the result set: skip
		it now that we have placed a possible lock on it */
		
@@ -3606,14 +3606,14 @@ row_search_for_mysql(
						offsets,
						prebuilt->select_lock_type,
						LOCK_GAP, thr);
				}

					if (err != DB_SUCCESS) {

						goto lock_wait_or_error;
					}
				}

			}

			btr_pcur_store_position(pcur, &mtr);

			err = DB_RECORD_NOT_FOUND;
@@ -3640,14 +3640,14 @@ row_search_for_mysql(
						offsets,
						prebuilt->select_lock_type,
						LOCK_GAP, thr);
				}

					if (err != DB_SUCCESS) {

						goto lock_wait_or_error;
					}
				}

			}

			btr_pcur_store_position(pcur, &mtr);

			err = DB_RECORD_NOT_FOUND;
+1 −0
Original line number Diff line number Diff line
--source include/not_embedded.inc
--source include/have_ucs2.inc

#
# Check correct binlogging of UCS2 user variables (BUG#3875)