OSDN Git Service
(root)
/
opengatem
/
opengatem.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed error at ndp request
[opengatem/opengatem.git]
/
sqlscript
/
updatescript3
1
/*
2
Remove the mac address record
3
for device passing 1 year after limit date.
4
Use as
5
mysql < updatescript3
6
*/
7
use opengatem;
8
delete from macaddrs where limitDate<adddate(now(), interval -1 year);
9
10