Bug #79751 | file size was not correctly set in function fil_ibd_create | ||
---|---|---|---|
Submitted: | 23 Dec 2015 8:25 | Modified: | 24 Dec 2015 7:59 |
Reporter: | zhai weixiang (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.7, 5.6 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[23 Dec 2015 8:25]
zhai weixiang
[24 Dec 2015 7:59]
MySQL Verification Team
Hello Zhai, Thank you for the report. Observed this with 5.7.10 src build. Thanks, Umesh
[24 Dec 2015 8:02]
MySQL Verification Team
// 5.6.10 (gdb) b fil_space_extend Breakpoint 1 at 0x1b14f92: file /export/umesh/server/source/bugs/79751/mysql-5.7.10/storage/innobase/fil/fil0fil.cc, line 4851. (gdb) run Starting program: /export/umesh/server/source/bugs/79751/mysql-5.7.10/bin/mysqld --basedir=/export/umesh/server/source/bugs/79751/mysql-5.7.10 --datadir=/export/umesh/server/source/bugs/79751/mysql-5.7.10/data --socket=/tmp/mysql_ushastry.sock --port=15000 --log-error=/export/umesh/server/source/bugs/79751/mysql-5.7.10/data/log.err [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". . Breakpoint 1, fil_space_extend (space=0x7fff8401bc28, size=6) at /export/umesh/server/source/bugs/79751/mysql-5.7.10/storage/innobase/fil/fil0fil.cc:4851 4851 ut_ad(!srv_read_only_mode || fsp_is_system_temporary(space->id)); 5000 os_has_said_disk_full = FALSE; (gdb) p space->name $5 = 0x7fff84010988 "test/t2" (gdb) p space->size $6 = 4 (gdb) p node->size $7 = 4 (gdb) p n_node_physical_pages $8 = 32 (gdb) // Session 2 [umshastr@hod03]/export/umesh/server/source/bugs/79751/mysql-5.7.10: bin/mysql -uroot -S /tmp/mysql_ushastry.sock Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.10-debug Source distribution Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> use test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> create table t2 (a int) row_format=compressed key_block_size=2;