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///SELECT @par := obf__parent FROM obj_fej WHERE obf__kod = 32396;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.obf__kod AS objkod,o.obf__parent AS objparent FROM obj_fej AS o WHERE (o.obf__kod =32396 OR o.obf__kod=@par)