8 Kwi
2008
8 Kwi
'08
12:32
Marcin o2.pl wrote:
Witam, jakim poleceniem w mysql naprawić błąd: "FUNCTION lms.broadcast does not exist"
Pozdrawiam
PS brakowało mi jeszcze "mask2prefix", ale znalazłem w sieci takie info: CREATE FUNCTION mask2prefix(mask bigint) RETURNS smallint DETERMINISTIC RETURN bit_count(mask);
DROP FUNCTION IF EXISTS mask2prefix; CREATE FUNCTION mask2prefix(mask bigint) RETURNS smallint DETERMINISTIC RETURN bit_count(mask);
DROP FUNCTION IF EXISTS broadcast; CREATE FUNCTION broadcast(address bigint, mask bigint) RETURNS bigint DETERMINISTIC RETURN address + (pow(2, (32-mask2prefix(mask)))-1);
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.alec.pl
!DSPAM:47fb49b398671163869485!