~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/r/commit_1innodb.result

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
571
571
 
572
572
# 16. A function changes non-trans-table.
573
573
#
 
574
# For row-based logging, there is an extra commit for the
 
575
# non-transactional changes saved in the transaction cache to
 
576
# the binary log. 
 
577
#
574
578
select f1();
575
579
f1()
576
580
2
577
 
call p_verify_status_increment(0, 0, 0, 0);
 
581
call p_verify_status_increment(0, 0, 1, 0);
578
582
SUCCESS
579
583
 
580
584
commit;
581
 
call p_verify_status_increment(0, 0, 0, 0);
 
585
call p_verify_status_increment(0, 0, 1, 0);
582
586
SUCCESS
583
587
 
584
588
# 17. Read-only statement, a function changes non-trans-table.
585
589
#
 
590
# For row-based logging, there is an extra commit for the
 
591
# non-transactional changes saved in the transaction cache to
 
592
# the binary log. 
 
593
#
586
594
select f1() from t1;
587
595
f1()
588
596
2
589
597
2
590
 
call p_verify_status_increment(1, 0, 1, 0);
 
598
call p_verify_status_increment(1, 0, 2, 0);
591
599
SUCCESS
592
600
 
593
601
commit;
594
 
call p_verify_status_increment(1, 0, 1, 0);
 
602
call p_verify_status_increment(1, 0, 2, 0);
595
603
SUCCESS
596
604
 
597
605
# 18. Read-write statement: UPDATE, change 0 (transactional) rows.