Below is the list of changes that have just been committed into a local
5.1 repository of marty. When marty 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@stripped, 2006-09-15 15:45:51+02:00, mskold@stripped +1 -0
Merge mskold@stripped:/home/bk/mysql-5.1
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1
MERGE: 1.2312.1.14
sql/ha_ndbcluster.cc@stripped, 2006-09-15 15:45:39+02:00, mskold@stripped +0 -0
Auto merged
MERGE: 1.358.1.1
# 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: mskold
# Host: linux.site
# Root: /windows/Linux_space/MySQL/mysql-5.1/RESYNC
--- 1.359/sql/ha_ndbcluster.cc 2006-09-15 15:46:00 +02:00
+++ 1.360/sql/ha_ndbcluster.cc 2006-09-15 15:46:00 +02:00
@@ -3986,7 +3986,14 @@ int ha_ndbcluster::external_lock(THD *th
if (lock_type != F_UNLCK)
{
DBUG_PRINT("info", ("lock_type != F_UNLCK"));
- if (!thd->transaction.on)
+ if (thd->lex->sql_command == SQLCOM_LOAD)
+ {
+ m_transaction_on= FALSE;
+ /* Would be simpler if has_transactions() didn't always say "yes" */
+ thd->options|= OPTION_STATUS_NO_TRANS_UPDATE;
+ thd->no_trans_update= TRUE;
+ }
+ else if (!thd->transaction.on)
m_transaction_on= FALSE;
else
m_transaction_on= thd->variables.ndb_use_transactions;
| Thread |
|---|
| • bk commit into 5.1 tree (mskold:1.2317) | Martin Skold | 15 Sep |