Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
543f95ec
Commit
543f95ec
authored
Jul 26, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
fix length of NDB$PK in unique index table
parent
14fb5e3c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
sql/ha_innodb.h
sql/ha_innodb.h
+1
-1
sql/ha_ndbcluster.h
sql/ha_ndbcluster.h
+1
-1
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
+2
-2
storage/ndb/tools/config.cpp
storage/ndb/tools/config.cpp
+0
-0
No files found.
sql/ha_innodb.h
View file @
543f95ec
...
...
@@ -202,7 +202,7 @@ class ha_innobase: public handler
static
ulonglong
get_mysql_bin_log_pos
();
bool
primary_key_is_clustered
()
{
return
true
;
}
int
cmp_ref
(
const
byte
*
ref1
,
const
byte
*
ref2
);
bool
ha_innobase
::
check_if_incompatible_data
(
HA_CREATE_INFO
*
info
,
bool
check_if_incompatible_data
(
HA_CREATE_INFO
*
info
,
uint
table_changes
);
};
...
...
sql/ha_ndbcluster.h
View file @
543f95ec
...
...
@@ -541,7 +541,7 @@ static void set_tabname(const char *pathname, char *tabname);
qc_engine_callback
*
engine_callback
,
ulonglong
*
engine_data
);
bool
ha_ndbcluster
::
check_if_incompatible_data
(
HA_CREATE_INFO
*
info
,
bool
check_if_incompatible_data
(
HA_CREATE_INFO
*
info
,
uint
table_changes
);
private:
...
...
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
View file @
543f95ec
...
...
@@ -12549,7 +12549,7 @@ void Dbtc::insertIntoIndexTable(Signal* signal,
AttributeBuffer
::
DataBufferIterator
iter
;
Uint32
attrId
=
0
;
Uint32
keyLength
=
0
;
Uint32
totalPrimaryKeyLength
=
0
;
Uint32
totalPrimaryKeyLength
=
1
;
// fragment length
Uint32
hops
;
indexTabPtr
.
i
=
indexData
->
indexId
;
...
...
@@ -12604,7 +12604,7 @@ void Dbtc::insertIntoIndexTable(Signal* signal,
}
AttributeHeader
pkAttrHeader
(
attrId
,
totalPrimaryKeyLength
);
Uint32
attributesLength
=
afterValues
.
getSize
()
+
pkAttrHeader
.
getHeaderSize
()
+
pkAttrHeader
.
getDataSize
()
+
1
;
pkAttrHeader
.
getHeaderSize
()
+
pkAttrHeader
.
getDataSize
();
TcKeyReq
::
setKeyLength
(
tcKeyRequestInfo
,
keyLength
);
tcKeyReq
->
attrLen
=
attributesLength
;
...
...
ndb/tools/config.cpp
→
storage/
ndb/tools/config.cpp
View file @
543f95ec
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment