Karbantartás... [DEBUG MSG:] Query - next_result: 1171 All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead///DROP TEMPORARY TABLE IF EXISTS tmp_reader_objkodok_1;CREATE TEMPORARY TABLE tmp_reader_objkodok_1 (objkod INTEGER UNSIGNED NULL,objparent INTEGER UNSIGNED NULL,fejkod INTEGER UNSIGNED NULL,PRIMARY KEY (objkod),INDEX (objparent)) ENGINE=InnoDB DEFAULT CHARSET=utf8 SELECT DISTINCT o.obf__kod AS objkod,o.obf__parent AS objparent FROM obj_fej AS o WHERE o.obf__tip IN (27) AND o.obf__kod=o.obf__parent;UPDATE tmp_reader_objkodok_1 AS t INNER JOIN obj_tul_dtip_04 AS d ON t.objkod = d.obtd_04__objkod AND d.obtd_04__valtozat=0 AND d.obtd_04__tulkod=18 SET t.fejkod=d.obtd_04__ert;DELETE FROM tmp_reader_objkodok_1 WHERE (ISNULL(fejkod) OR fejkod not in (1942));DROP TEMPORARY TABLE IF EXISTS tmp_reader_objkodok;CREATE TEMPORARY TABLE tmp_reader_objkodok (objkod INTEGER UNSIGNED NULL,objparent INTEGER UNSIGNED NULL,PRIMARY KEY (objkod),INDEX (objparent)) ENGINE=InnoDB DEFAULT CHARSET=utf8 SELECT DISTINCT o.objparent AS objkod,o.objparent FROM tmp_reader_objkodok_1 AS o