mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Postmerge changes
storage/maria/unittest/ma_test_loghandler-t.c: Spaces at the end of the line removed. Parameters of translog_write_record() fixed. storage/maria/unittest/ma_test_loghandler_multigroup-t.c: Parameters of translog_write_record() fixed.
This commit is contained in:
parent
98e80921a8
commit
9f903637d9
2 changed files with 3 additions and 4 deletions
|
@ -208,7 +208,7 @@ int main(int argc __attribute__((unused)), char *argv[])
|
|||
|
||||
for (i= 1; i < ITERATIONS; i++)
|
||||
{
|
||||
trn->short_id= i % 0xFFFF;
|
||||
trn->short_id= i % 0xFFFF;
|
||||
if (i % 2)
|
||||
{
|
||||
lsn_store(lsn_buff, lsn_base);
|
||||
|
@ -218,8 +218,7 @@ int main(int argc __attribute__((unused)), char *argv[])
|
|||
parts[TRANSLOG_INTERNAL_PARTS + 1].str= NULL;
|
||||
parts[TRANSLOG_INTERNAL_PARTS + 1].length= 0;
|
||||
if (translog_write_record(&lsn, LOGREC_FIXED_RECORD_1LSN_EXAMPLE,
|
||||
trn, NULL,
|
||||
NULL, LSN_STORE_SIZE, 0, parts))
|
||||
trn, NULL, LSN_STORE_SIZE, 0, parts))
|
||||
{
|
||||
fprintf(stderr, "1 Can't write reference defore record #%lu\n",
|
||||
(ulong) i);
|
||||
|
|
|
@ -191,7 +191,7 @@ int main(int argc __attribute__((unused)), char *argv[])
|
|||
parts[TRANSLOG_INTERNAL_PARTS + 0].length= 6;
|
||||
trn->short_id= 0;
|
||||
if (translog_write_record(&lsn, LOGREC_FIXED_RECORD_0LSN_EXAMPLE,
|
||||
trn, NULL, NULL,
|
||||
trn, NULL,
|
||||
6, TRANSLOG_INTERNAL_PARTS + 1, parts))
|
||||
{
|
||||
fprintf(stderr, "Can't write record #%lu\n", (ulong) 0);
|
||||
|
|
Loading…
Reference in a new issue