mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
Addresses #1378 Finish merging scanrace.c
git-svn-id: file:///svn/toku/tokudb@9508 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
3b42b55489
commit
36b1539510
1 changed files with 3 additions and 1 deletions
|
@ -106,10 +106,12 @@ struct extra_count {
|
|||
int rowcounter;
|
||||
};
|
||||
|
||||
static void counttotalbytes (DBT const *key, DBT const *data, void *extrav) {
|
||||
static int
|
||||
counttotalbytes (DBT const *key, DBT const *data, void *extrav) {
|
||||
struct extra_count *e=extrav;
|
||||
e->totalbytes += key->size + data->size;
|
||||
e->rowcounter++;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void scanrace_lwc (void) {
|
||||
|
|
Loading…
Add table
Reference in a new issue