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
143ad508
Commit
143ad508
authored
May 15, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - testScan -n ScanRead488O fix
parent
1cd13590
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ndb/test/ndbapi/testScan.cpp
ndb/test/ndbapi/testScan.cpp
+1
-0
No files found.
ndb/test/ndbapi/testScan.cpp
View file @
143ad508
...
...
@@ -317,6 +317,7 @@ int runScanReadIndex(NDBT_Context* ctx, NDBT_Step* step){
g_info
<<
i
<<
": "
;
bool
sort
=
(
rand
()
%
100
)
>
50
?
true
:
false
;
bool
desc
=
(
rand
()
%
100
)
>
50
?
true
:
false
;
desc
=
false
;
// random causes too many deadlocks
int
scan_flags
=
(
NdbScanOperation
::
SF_OrderBy
&
-
(
int
)
sort
)
|
(
NdbScanOperation
::
SF_Descending
&
-
(
int
)
desc
);
...
...
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