~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/os/os0file.c

  • Committer: Stewart Smith
  • Author(s): Jimmy Yang
  • Date: 2010-11-17 05:13:43 UTC
  • mto: (2021.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1971.
  • Revision ID: stewart@flamingspork.com-20101117051343-es36iplwgnlet3vd
Merge Revision revid:jimmy.yang@oracle.com-20100709083920-tjr02w26k7b1d97i from MySQL InnoDB

Original revid:jimmy.yang@oracle.com-20100709083920-tjr02w26k7b1d97i

Original Authors: Jimmy Yang <jimmy.yang@oracle.com>
Original commit message:
Fix bug #55039 Failing assertion: space_id > 0 in fil0fil.c.

rb://396, approved by Sunny Bains.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1451
1451
 
1452
1452
                /* When srv_file_per_table is on, file creation failure may not
1453
1453
                be critical to the whole instance. Do not crash the server in
1454
 
                case of unknown errors. */
 
1454
                case of unknown errors.
 
1455
                Please note "srv_file_per_table" is a global variable with
 
1456
                no explicit synchronization protection. It could be
 
1457
                changed during this execution path. It might not have the
 
1458
                same value as the one when building the table definition */
1455
1459
                if (srv_file_per_table) {
1456
1460
                        retry = os_file_handle_error_no_exit(name,
1457
1461
                                                create_mode == OS_FILE_CREATE ?
1538
1542
 
1539
1543
                /* When srv_file_per_table is on, file creation failure may not
1540
1544
                be critical to the whole instance. Do not crash the server in
1541
 
                case of unknown errors. */
 
1545
                case of unknown errors.
 
1546
                Please note "srv_file_per_table" is a global variable with
 
1547
                no explicit synchronization protection. It could be
 
1548
                changed during this execution path. It might not have the
 
1549
                same value as the one when building the table definition */
1542
1550
                if (srv_file_per_table) {
1543
1551
                        retry = os_file_handle_error_no_exit(name,
1544
1552
                                                create_mode == OS_FILE_CREATE ?