mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
Merge from mysql-5.1 to mysql-5.5
This commit is contained in:
commit
07f6a96b59
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2012, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1997, 2013, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2008, Google Inc.
|
||||
|
||||
Portions of this file contain modifications contributed and copyrighted by
|
||||
|
@ -57,6 +57,8 @@ Created 12/19/1997 Heikki Tuuri
|
|||
#include "read0read.h"
|
||||
#include "buf0lru.h"
|
||||
#include "ha_prototypes.h"
|
||||
#include "m_string.h" /* for my_sys.h */
|
||||
#include "my_sys.h" /* DEBUG_SYNC_C */
|
||||
|
||||
/* Maximum number of rows to prefetch; MySQL interface has another parameter */
|
||||
#define SEL_MAX_N_PREFETCH 16
|
||||
|
@ -3918,7 +3920,9 @@ wait_table_again:
|
|||
}
|
||||
|
||||
rec_loop:
|
||||
DEBUG_SYNC_C("row_search_rec_loop");
|
||||
if (trx_is_interrupted(trx)) {
|
||||
btr_pcur_store_position(pcur, &mtr);
|
||||
err = DB_INTERRUPTED;
|
||||
goto normal_return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue