Below is the list of changes that have just been committed into a local
6.0 repository of . When 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, 2008-02-15 17:29:57-05:00, jas@rowvwade. +4 -0
Start the phase in of the BackLog. Initially, add only
structure.
storage/falcon/Database.cpp@stripped, 2008-02-15 17:29:48-05:00, jas@rowvwade. +2 -0
Start the phase in of the BackLog. Initially, add only
structure.
storage/falcon/Database.h@stripped, 2008-02-15 17:29:49-05:00, jas@rowvwade. +2 -0
Start the phase in of the BackLog. Initially, add only
structure.
storage/falcon/Table.cpp@stripped, 2008-02-15 17:29:49-05:00, jas@rowvwade. +3 -2
Start the phase in of the BackLog. Initially, add only
structure.
storage/falcon/Table.h@stripped, 2008-02-15 17:29:49-05:00, jas@rowvwade. +2 -0
Start the phase in of the BackLog. Initially, add only
structure.
diff -Nrup a/storage/falcon/Database.cpp b/storage/falcon/Database.cpp
--- a/storage/falcon/Database.cpp 2008-01-26 17:52:21 -05:00
+++ b/storage/falcon/Database.cpp 2008-02-15 17:29:48 -05:00
@@ -459,6 +459,7 @@ Database::Database(const char *dbName, C
pageWriter = NULL;
zombieTables = NULL;
updateCardinality = NULL;
+ backLog = NULL;
ioScheduler = new PriorityScheduler;
lastScavenge = 0;
scavengeCycle = 0;
@@ -605,6 +606,7 @@ Database::~Database()
delete repositoryManager;
delete transactionManager;
delete ioScheduler;
+ delete backLog;
}
void Database::createDatabase(const char * filename)
diff -Nrup a/storage/falcon/Database.h b/storage/falcon/Database.h
--- a/storage/falcon/Database.h 2008-01-26 17:52:21 -05:00
+++ b/storage/falcon/Database.h 2008-02-15 17:29:49 -05:00
@@ -102,6 +102,7 @@ class MemMgr;
class RecordScavenge;
class PriorityScheduler;
class SQLException;
+class BackLog;
struct JavaCallback;
@@ -239,6 +240,7 @@ public:
Configuration *configuration;
SerialLog *serialLog;
Connection *systemConnection;
+ BackLog *backLog;
int nextTableId;
bool formatting;
bool licensed;
diff -Nrup a/storage/falcon/Table.cpp b/storage/falcon/Table.cpp
--- a/storage/falcon/Table.cpp 2008-02-08 12:46:37 -05:00
+++ b/storage/falcon/Table.cpp 2008-02-15 17:29:49 -05:00
@@ -142,8 +142,8 @@ Table::~Table()
#endif
delete view;
- if (records)
- delete records;
+ delete backloggedRecords;
+ delete records;
if (recordBitmap)
recordBitmap->release();
@@ -805,6 +805,7 @@ void Table::init(int id, const char *sch
dataSectionId = 0;
blobSection = NULL;
dataSection = NULL;
+ backloggedRecords = NULL;
nextFieldId = 0;
setType ("TABLE");
formatVersion = 0;
diff -Nrup a/storage/falcon/Table.h b/storage/falcon/Table.h
--- a/storage/falcon/Table.h 2008-02-08 12:46:38 -05:00
+++ b/storage/falcon/Table.h 2008-02-15 17:29:49 -05:00
@@ -29,6 +29,7 @@
#include "SyncObject.h"
#include "Types.h"
#include "Index.h"
+#include "SparseArray.h"
static const int PreInsert = 1;
static const int PostInsert = 2;
@@ -233,6 +234,7 @@ public:
Trigger *triggers;
Bitmap *recordBitmap;
Bitmap *emptySections;
+ SparseArray<int32, 128> *backloggedRecords;
Section *dataSection;
Section *blobSection;
TableSpace *tableSpace;
| Thread |
|---|
| • bk commit into 6.0 tree (jas:1.2817) | U-ROWVWADEjas | 15 Feb |