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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6758c167
Commit
6758c167
authored
Dec 01, 2006
by
pekka@orca.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#21690: fix typo which changed blob parts distribution
parent
4b7e0b5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
storage/ndb/src/ndbapi/NdbBlob.cpp
storage/ndb/src/ndbapi/NdbBlob.cpp
+0
-6
storage/ndb/src/ndbapi/NdbDictionary.cpp
storage/ndb/src/ndbapi/NdbDictionary.cpp
+1
-1
No files found.
storage/ndb/src/ndbapi/NdbBlob.cpp
View file @
6758c167
...
...
@@ -164,12 +164,6 @@ NdbBlob::getBlobTable(NdbTableImpl& bt, const NdbTableImpl* t, const NdbColumnIm
bc
.
setStorageType
(
c
->
getStorageType
());
bt
.
addColumn
(
bc
);
}
// temp fix for bug#21690 - distr key set wrong
{
unsigned
x
;
bt
.
getColumn
(
x
=
0
)
->
setDistributionKey
(
true
);
bt
.
getColumn
(
x
=
1
)
->
setDistributionKey
(
true
);
bt
.
getColumn
(
x
=
2
)
->
setDistributionKey
(
false
);
}
DBUG_VOID_RETURN
;
}
...
...
storage/ndb/src/ndbapi/NdbDictionary.cpp
View file @
6758c167
...
...
@@ -204,7 +204,7 @@ NdbDictionary::Column::getPrimaryKey() const {
void
NdbDictionary
::
Column
::
setPartitionKey
(
bool
val
){
m_impl
.
m_distributionKey
=
true
;
m_impl
.
m_distributionKey
=
val
;
}
bool
...
...
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