mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
Typo fix in assert statement.
We were checking the 'write' system call instead of the 'do_write' variable. git-svn-id: file:///svn/tokudb@755 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
d345db0551
commit
b4e9133ffb
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ CACHEKEY test_size_flush_key;
|
||||||
|
|
||||||
void test_size_flush_callback(CACHEFILE f, CACHEKEY key, void *value, long size, BOOL do_write, BOOL keep, LSN modified_lsn __attribute__((__unused__)), BOOL rename_p __attribute__((__unused__))) {
|
void test_size_flush_callback(CACHEFILE f, CACHEKEY key, void *value, long size, BOOL do_write, BOOL keep, LSN modified_lsn __attribute__((__unused__)), BOOL rename_p __attribute__((__unused__))) {
|
||||||
if (test_size_debug) printf("test_size_flush %p %lld %p %ld %d %d\n", f, key, value, size, do_write, keep);
|
if (test_size_debug) printf("test_size_flush %p %lld %p %ld %d %d\n", f, key, value, size, do_write, keep);
|
||||||
assert(write != 0);
|
assert(do_write != 0);
|
||||||
test_size_flush_key = key;
|
test_size_flush_key = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue