Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.2(EOL)
-
10.2.5-1
Description
Version: '10.2.2-MariaDB-debug' socket: '/data/bld/10.2/mysql-test/var/tmp/mysqld.1.sock' port: 16000 Source distribution
|
mysqld: /data/src/10.2/sql/sql_base.cc:7773: bool fill_record(THD*, TABLE*, List<Item>&, List<Item>&, bool, bool): Assertion `field->field->table == table_arg' failed.
|
160830 21:26:51 [ERROR] mysqld got signal 6 ;
|
#7 0x00007f5fdb40a312 in __GI___assert_fail (assertion=0x7f5fde560ef8 "field->field->table == table_arg", file=0x7f5fde55f838 "/data/src/10.2/sql/sql_base.cc", line=7773, function=0x7f5fde562c40 <fill_record(THD*, TABLE*, List<Item>&, List<Item>&, bool, bool)::__PRETTY_FUNCTION__> "bool fill_record(THD*, TABLE*, List<Item>&, List<Item>&, bool, bool)") at assert.c:101
|
#8 0x00007f5fddbed383 in fill_record (thd=0x7f5fd2052070, table_arg=0x7f5fd20a8c70, fields=..., values=..., ignore_errors=false, update=false) at /data/src/10.2/sql/sql_base.cc:7773
|
#9 0x00007f5fddbedb4b in fill_record_n_invoke_before_triggers (thd=0x7f5fd2052070, table=0x7f5fd20a8c70, fields=..., values=..., ignore_errors=false, event=TRG_EVENT_INSERT) at /data/src/10.2/sql/sql_base.cc:7950
|
#10 0x00007f5fddc25e60 in mysql_insert (thd=0x7f5fd2052070, table_list=0x7f5fd211f180, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /data/src/10.2/sql/sql_insert.cc:900
|
#11 0x00007f5fddc4b0a0 in mysql_execute_command (thd=0x7f5fd2052070) at /data/src/10.2/sql/sql_parse.cc:4290
|
#12 0x00007f5fddc5605d in mysql_parse (thd=0x7f5fd2052070, rawbuf=0x7f5fd211f088 "REPLACE INTO v (f1,f2) VALUES (1,1)", length=35, parser_state=0x7f5fdebc1de0, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7742
|
#13 0x00007f5fddc444c9 in dispatch_command (command=COM_QUERY, thd=0x7f5fd2052070, packet=0x7f5fd2115071 "REPLACE INTO v (f1,f2) VALUES (1,1)", packet_length=35, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1790
|
#14 0x00007f5fddc42f35 in do_command (thd=0x7f5fd2052070) at /data/src/10.2/sql/sql_parse.cc:1353
|
#15 0x00007f5fddd7b9ea in do_handle_one_connection (connect=0x7f5fda86d410) at /data/src/10.2/sql/sql_connect.cc:1354
|
#16 0x00007f5fddd7b777 in handle_one_connection (arg=0x7f5fda86d410) at /data/src/10.2/sql/sql_connect.cc:1260
|
#17 0x00007f5fde06e7b2 in pfs_spawn_thread (arg=0x7f5fda8519f0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#18 0x00007f5fdd30c0a4 in start_thread (arg=0x7f5fdebc3300) at pthread_create.c:309
|
#19 0x00007f5fdb4c487d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
CREATE TABLE t1 (i INT); |
CREATE TABLE t2 (j INT); |
CREATE TABLE t3 (k INT); |
 |
CREATE ALGORITHM = MERGE VIEW v AS SELECT j AS f1, k AS f2 FROM ( SELECT j FROM t1, t2 ) sq, t3; |
REPLACE INTO v (f1,f2) VALUES (1,1); |