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
868a5dd8
Commit
868a5dd8
authored
Dec 11, 2007
by
Bradley C. Kuszmaul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shorten the trace. Addresses #162.
git-svn-id:
file:///svn/tokudb@1063
c7de825b-a66e-492c-adef-691d508d4ae1
parent
be6b85b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/tests/test_db_curs4.c
src/tests/test_db_curs4.c
+4
-2
No files found.
src/tests/test_db_curs4.c
View file @
868a5dd8
...
...
@@ -231,6 +231,7 @@ void setup_for_db_create (void) {
}
#if 0
static int count_entries (const char *dbcname, DB *db) {
DBC *dbc;
int r = db->cursor(db, null_txn, &dbc, 0); CKERR(r);
...
...
@@ -247,6 +248,7 @@ static int count_entries (const char *dbcname, DB *db) {
r=dbc->c_close(dbc); CKERR(r);
return n_found;
}
#endif
int
oppass
=
0
,
opnum
=
0
;
...
...
@@ -461,8 +463,8 @@ int main (int argc, const char *argv[]) {
case
MODE_MORE
:
oppass
=
2
;
create_databases
();
calc_n_items
=
count_all_items
=
count_entries
(
"dbc"
,
dbp
);
//printf(
"%s:%d n_items initially=%d\n", __FILE__, __LINE__, count_all_items);
calc_n_items
=
count_all_items
=
14
;
//
count_entries("dbc", dbp);
fprintf
(
stderr
,
"%s:%d n_items initially=%d
\n
"
,
__FILE__
,
__LINE__
,
count_all_items
);
{
const
int
n_activities
=
100
;
int
i
;
...
...
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