mysql 新连接接入创建binlog缓存的过程

#0  init_io_cache (info=0x7fffec492650, file=-1, cachesize=32768, type=WRITE_CACHE, seek_offset=0, use_async_io=0 '\000', cache_myflags=20) at mysys/mf_iocache.c:299
#1  0x0000000001883244 in open_cached_file (cache=0x7fffec492650, dir=0x2e49ba0 "/data/kingdb/tmp", prefix=0x222a18e "ML", cache_size=32768, cache_myflags=16) at mysys/mf_cache.c:60
#2  0x000000000181539e in THD::binlog_setup_trx_data (this=0x7ffe7c1b8fb0) at sql/binlog.cc:9992
#3  0x00000000018156e7 in binlog_start_trans_and_stmt (thd=0x7ffe7c1b8fb0, start_event=0x7fffec493b30) at sql/binlog.cc:10099
#4  0x0000000001815acb in THD::binlog_write_table_map (this=0x7ffe7c1b8fb0, table=0x7ffe7c002a00, is_transactional=true, binlog_rows_query=false) at sql/binlog.cc:10192
#5  0x0000000000f765a4 in write_locked_table_maps (thd=0x7ffe7c1b8fb0) at sql/handler.cc:7879
#6  0x0000000000f767c5 in binlog_log_row (table=0x7ffe7c002a00, before_record=0x0, after_record=0x7ffe7c0033c0 "", log_func=0xf7bd2e <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, bool, unsigned char const*, unsigned char const*)>) at sql/handler.cc:7948
#7  0x0000000000f7710d in handler::ha_write_row (this=0x7ffe7c00a410, buf=0x7ffe7c0033c0 "") at sql/handler.cc:8093
#8  0x000000000178cda2 in write_record (thd=0x7ffe7c1b8fb0, table=0x7ffe7c002a00, info=0x7fffec494120, update=0x7fffec4940a0) at sql/sql_insert.cc:1882
#9  0x0000000001789f8a in Sql_cmd_insert::mysql_insert (this=0x7ffe7c1c22b0, thd=0x7ffe7c1b8fb0, table_list=0x7ffe7c1c0818) at sql/sql_insert.cc:769
#10 0x0000000001790862 in Sql_cmd_insert::execute (this=0x7ffe7c1c22b0, thd=0x7ffe7c1b8fb0) at sql/sql_insert.cc:3127
#11 0x000000000156d9db in mysql_execute_command (thd=0x7ffe7c1b8fb0, first_level=true) at sql/sql_parse.cc:3596
#12 0x00000000015a9fd4 in Prepared_statement::execute (this=0x7ffe7c00a060, expanded_query=0x7fffec495500, open_cursor=false) at sql/sql_prepare.cc:3977
#13 0x00000000015a8dfb in Prepared_statement::execute_loop (this=0x7ffe7c00a060, expanded_query=0x7fffec495500, open_cursor=false, packet=0x7ffe7c1f090a "", packet_end=0x7ffe7c1fd178 "") at sql/sql_prepare.cc:3585
#14 0x00000000015a6784 in mysqld_stmt_execute (thd=0x7ffe7c1b8fb0, stmt_id=1, flags=0, params=0x7ffe7c1f090a "", params_length=51310) at sql/sql_prepare.cc:2573
#15 0x00000000015686b6 in dispatch_command (thd=0x7ffe7c1b8fb0, com_data=0x7fffec495e10, command=COM_STMT_EXECUTE) at sql/sql_parse.cc:1418
#16 0x00000000015678a4 in do_command (thd=0x7ffe7c1b8fb0) at sql/sql_parse.cc:1025
#17 0x00000000016976a5 in handle_connection (arg=0xfd94870) at sql/conn_handler/connection_handler_per_thread.cc:306
#18 0x0000000001d37250 in pfs_spawn_thread (arg=0xfcaa8b0) at storage/perfschema/pfs.cc:2190
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值