Below is the list of changes that have just been committed into a local
5.0 repository of jan. When jan does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.1925 05/05/27 14:44:24 jan@stripped +1 -0
List only those SQL-commands where consistent read can be used.
sql/ha_innodb.cc
1.212 05/05/27 14:44:16 jan@stripped +2 -5
List only those SQL-commands where consistent read can be used.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: jan
# Host: hundin.mysql.fi
# Root: /home/jan/mysql-5.0
--- 1.211/sql/ha_innodb.cc Fri May 27 09:46:32 2005
+++ 1.212/sql/ha_innodb.cc Fri May 27 14:44:16 2005
@@ -6443,11 +6443,8 @@
if (srv_locks_unsafe_for_binlog &&
prebuilt->trx->isolation_level != TRX_ISO_SERIALIZABLE &&
(lock_type == TL_READ || lock_type == TL_READ_NO_INSERT) &&
- thd->lex->sql_command != SQLCOM_SELECT &&
- thd->lex->sql_command != SQLCOM_UPDATE_MULTI &&
- thd->lex->sql_command != SQLCOM_DELETE_MULTI &&
- thd->lex->sql_command != SQLCOM_LOCK_TABLES &&
- thd->lex->sql_command != SQLCOM_CALL) {
+ (thd->lex->sql_command == SQLCOM_INSERT_SELECT ||
+ thd->lex->sql_command == SQLCOM_UPDATE)) {
/* In case we have innobase_locks_unsafe_for_binlog
option set and isolation level of the transaction
| Thread |
|---|
| • bk commit into 5.0 tree (jan:1.1925) | jan.lindstrom | 27 May |