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
89c231cc
Commit
89c231cc
authored
May 05, 2004
by
magnus@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge fixes
parent
970624c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+11
-9
No files found.
sql/ha_ndbcluster.cc
View file @
89c231cc
...
@@ -20,12 +20,6 @@
...
@@ -20,12 +20,6 @@
NDB Cluster
NDB Cluster
*/
*/
/*
TODO
After CREATE DATABASE gör discover på alla tabeller i den databasen
*/
#ifdef __GNUC__
#ifdef __GNUC__
#pragma implementation // gcc: Class implementation
#pragma implementation // gcc: Class implementation
...
@@ -41,7 +35,7 @@
...
@@ -41,7 +35,7 @@
#define USE_DISCOVER_ON_STARTUP
#define USE_DISCOVER_ON_STARTUP
//#define USE_NDB_POOL
//#define USE_NDB_POOL
//
#define USE_EXTRA_ORDERED_INDEX
#define USE_EXTRA_ORDERED_INDEX
// Default value for parallelism
// Default value for parallelism
static
const
int
parallelism
=
240
;
static
const
int
parallelism
=
240
;
...
@@ -1421,7 +1415,11 @@ int ha_ndbcluster::index_read(byte *buf,
...
@@ -1421,7 +1415,11 @@ int ha_ndbcluster::index_read(byte *buf,
if
(
key_len
<
key_info
->
key_length
||
if
(
key_len
<
key_info
->
key_length
||
find_flag
!=
HA_READ_KEY_EXACT
)
find_flag
!=
HA_READ_KEY_EXACT
)
{
{
error
=
ordered_index_scan
(
key
,
key_len
,
buf
,
find_flag
);
key_range
start_key
;
start_key
.
key
=
key
;
start_key
.
length
=
key_len
;
start_key
.
flag
=
find_flag
;
error
=
ordered_index_scan
(
&
start_key
,
0
,
false
,
buf
);
break
;
break
;
}
}
...
@@ -1435,7 +1433,11 @@ int ha_ndbcluster::index_read(byte *buf,
...
@@ -1435,7 +1433,11 @@ int ha_ndbcluster::index_read(byte *buf,
if
(
key_len
<
key_info
->
key_length
||
if
(
key_len
<
key_info
->
key_length
||
find_flag
!=
HA_READ_KEY_EXACT
)
find_flag
!=
HA_READ_KEY_EXACT
)
{
{
error
=
ordered_index_scan
(
key
,
key_len
,
buf
,
find_flag
);
key_range
start_key
;
start_key
.
key
=
key
;
start_key
.
length
=
key_len
;
start_key
.
flag
=
find_flag
;
error
=
ordered_index_scan
(
&
start_key
,
0
,
false
,
buf
);
break
;
break
;
}
}
#endif
#endif
...
...
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