LINUX.ORG.RU
ФорумAdmin

Странный трабл с MySQL, кто может помочь


0

0

>>> make first INSTALL

SET TIMESTAMP=1002217347; INSERT INTO radacct VALUES (0, '0107862e', 'SN_UYJYP17U', '', ^^^^^^^^ ^^^^^^^^^^^ '212.96.104.138', 19, 'Async', '20011004214227', 0, 0, '', '31200/ARQ/V34/LAPM/V42BIS', 0, 0, '', '', '', 'Framed-User', 'PPP', '212.96.104.7', 0, 0, 0); # at 496745 #011004 21:42:27 server id 1 Intvar SET INSERT_ID = 451096; # at 496767 #011004 21:42:27 server id 1 Query thread_id=6 exec_time=0 error_code=0

>>> after INSERT I make SELECT for checking >>> if check false I do loop INSERT+SELECT while get result OK

SET TIMESTAMP=1002217347; INSERT INTO radacct VALUES (0, '0107862e', 'SN_UYJYP17U', '', ^^^^^^^^ ^^^^^^^^^^^ '212.96.104.138', 19, 'Async', '20011004214227', 0, 0, '', '31200/ARQ/V34/LAPM/V42BIS', 0, 0, '', '', '', 'Framed-User', 'PPP', '212.96.104.7', 0, 0, 0); # at 497012 #011004 21:42:29 server id 1 Query thread_id=6 exec_time=0 error_code=0

>>> ^^^^^^^^^^^^^^^^^^^| >>> this code show what SELECT finished OK (stop loop)

>>> after then I wait packet about finish working and make SELECT >>> if select good make UPDATE if record not find make INSERT ...

SET TIMESTAMP=1002222487; INSERT INTO radacct VALUES (0, '0107862e', 'SN_UYJYP17U', '', ^^^^^^^^ ^^^^^^^^^^^ '212.96.104.138', 19, 'Async', 0, '20011004230807', '5140', '', '31200/ARQ/V34/LAPM/V42BIS', '648929', '2914844', '', '', '', 'Framed-User', 'PPP', '212.96.104.7', 0, 0, 0); # at 648038 #011004 23:08:07 server id 1 Query thread_id=6 exec_time=0 error_code=0

>>> who know where f... record ... I make INSERT I make check but can't find record later

>>> HELP ME PLEASE WHO KNOW!!!

anonymous

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.