sql>select * from kbms_logserver_msg t
where command = 'CmdWxInfo' and logdate = '2013-08-06' and
functionret <> '0' and servertime > '1375757230'
limit 10;
+------------+-----------+--------------+-------------+----------+------------+---------------+------------+----------------+------------+------------+
| logdate | command | commandtype | functionret |
costtime | servertime | serverip | serverport |
clientip | clientport | clienttype |
+============+===========+==============+=============+==========+============+===============+============+================+============+============+
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535 |
3032 | 1375757231 | 10.187.143.80 | 7000 |
10.153.130.228 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535 |
3032 | 1375757244 | 10.187.143.80 | 7000 |
10.153.130.228 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535 |
3030 | 1375757257 | 10.187.143.80 | 7000 |
10.153.130.229 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535 |
3032 | 1375757962 | 10.187.143.80 | 7000 |
10.153.130.229 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535 |
3030 | 1375757970 | 10.187.143.80 | 7000 |
10.153.130.228 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535
| 60 | 1375760693 | 10.187.143.80 | 7000 |
10.153.130.229 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535
| 60 | 1375760693 | 10.187.143.80 | 7000 |
10.153.130.228 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535
| 59 | 1375760693 | 10.187.143.80 | 7000 |
10.153.130.229 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535
| 63 | 1375760872 | 10.187.143.80 | 7000 |
10.153.130.229 | | |
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535
| 54 | 1375760872 | 10.187.143.80 | 7000 |
10.153.130.229 | | |
+------------+-----------+--------------+-------------+----------+------------+---------------+------------+----------------+------------+------------+
10 tuples (55.709ms)
sql>select * from kbms_logserver_msg t where command =
'CmdWxInfo' and logdate = '2013-08-06' and functionret
<> '0' and servertime = '1375757231' limit 10;
+------------+-----------+--------------+-------------+----------+------------+---------------+------------+----------------+------------+------------+
| logdate | command | commandtype | functionret |
costtime | servertime | serverip | serverport |
clientip | clientport | clienttype |
+============+===========+==============+=============+==========+============+===============+============+================+============+============+
| 2013-08-06 | CmdWxInfo | getwxinfoall | -535 |
3032 | 1375757231 | 10.187.143.80 | 7000 |
10.153.130.228 | 44328 | |
+------------+-----------+--------------+-------------+----------+------------+---------------+------------+----------------+------------+------------+
1 tuple (52.761ms)
in the first query,when servertime > '1375757230' limit
10;clientport are all NULL.
while in
the second query, servertime = '1375757231' ,clientport
appeard again.
it proves that the clientport exist but just didn't appear
in the query.