summaryrefslogtreecommitdiff
path: root/bdb
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-08-28 06:43:55 +0300
committerunknown <monty@hundin.mysql.fi>2001-08-28 06:43:55 +0300
commitbfe2213babce74eac616dd3be0c8ac5bce16f032 (patch)
tree476d8d3dea118db2d3981f0e5754e23cc70924ab /bdb
parent30774b35493d3ad14ee40b73d4b9ffff51dd6cd1 (diff)
downloadmariadb-git-bfe2213babce74eac616dd3be0c8ac5bce16f032.tar.gz
Fixed that LOAD DATA INFILE works with transactions.
Fix for lower case filenames BitKeeper/deleted/.del-select.tst~2e626fa07144d2c8: Delete: mysql-test/misc/select.tst Docs/manual.texi: Better examples for sub selects bdb/lock/lock_region.c: Fixed not critical error mysql-test/r/gemini.result: Testcase for load data infile mysql-test/t/gemini.test: Testcase for load data infile sql/sql_load.cc: Fixed that LOAD DATA INFILE works with transactions sql/sql_show.cc: Fix for lower case filenames sql/sql_string.cc: cleanup
Diffstat (limited to 'bdb')
-rw-r--r--bdb/lock/lock_region.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bdb/lock/lock_region.c b/bdb/lock/lock_region.c
index 4bd4ee4b765..5ca91a9951d 100644
--- a/bdb/lock/lock_region.c
+++ b/bdb/lock/lock_region.c
@@ -291,6 +291,7 @@ __lock_init(dbenv, lt)
sizeof(struct __db_lock), MUTEX_ALIGN, &lp)) != 0)
goto mem_err;
lp->status = DB_LSTAT_FREE;
+ lp->gen=0;
if ((ret = __db_shmutex_init(dbenv, &lp->mutex,
R_OFFSET(&lt->reginfo, &lp->mutex) + DB_FCNTL_OFF_LOCK,
MUTEX_SELF_BLOCK, &lt->reginfo,