~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/buf/buf0flu.c

  • Committer: Monty Taylor
  • Date: 2009-02-10 20:53:19 UTC
  • mto: This revision was merged to the branch mainline in revision 879.
  • Revision ID: mordred@inaugust.com-20090210205319-d43bqeezb3g1bvgn
Sun Studio doesn't like breaking out of this loop, but the bool is fine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1052
1052
 
1053
1053
        buf_pool->init_flush[flush_type] = TRUE;
1054
1054
 
1055
 
        for (;;) {
 
1055
        bool done_with_loop= false;
 
1056
        for (;; done_with_loop==true) {
1056
1057
flush_next:
1057
1058
                /* If we have flushed enough, leave the loop */
1058
1059
                if (page_count >= min_n) {
1129
1130
 
1130
1131
                /* If we could not find anything to flush, leave the loop */
1131
1132
 
1132
 
                break;
 
1133
                done_with_loop= true;
1133
1134
 
1134
1135
        }
1135
1136