表的结构如下
+------------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------------+------+-----+---------+-------+
| ip | char(16) | | PRI | 0 | |
| serverport | int(16) unsigned | | PRI | 0 | |
| loadFactor | int(64) unsigned | | | 0 | |
| type | tinyint(3) unsigned | | PRI | 0 | |
| lastTime | timestamp(14) | YES | PRI | NULL | |
+------------+---------------------+------+-----+---------+-------+
+------------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------------+------+-----+---------+-------+
| ip | char(16) | | PRI | 0 | |
| serverport | int(16) unsigned | | PRI | 0 | |
| loadFactor | int(64) unsigned | | | 0 | |
| type | tinyint(3) unsigned | | PRI | 0 | |
| lastTime | timestamp(14) | YES | PRI | NULL | |
+------------+---------------------+------+-----+---------+-------+
后面是什么意思呢,为什么要限制呢?
标准点的写法是type='0'