场景描述:被测系统是发布在远程服务器上的,假设IP是10.10.10.10,端口是8066,那么访问地址是http://10.10.10.10:8066/,在control机器上我设置了IP欺骗。错误现象:在场景运行时出现大量Action.c(8):
Error -27796: Failed to ...
分类:
其他好文 时间:
2014-06-04 19:04:58
阅读次数:
1295
1 innodb 自增列出现重复值的问题 先从问题入手,重现下这个buguse test;drop
table t1;create table t1(id int auto_increment, a int, primary key (id))
engine=innodb;insert into t...
分类:
数据库 时间:
2014-06-03 13:24:55
阅读次数:
503
关于index_hint
在mysql查询语句中可以通过指定index_hint来告诉优化器如何使用索引,详细可以参考这里index_hint: USE {INDEX|KEY} [FOR
{JOIN|ORDER BY|GROUP BY}] ([index_list]) | IGNO...
分类:
数据库 时间:
2014-06-03 13:05:59
阅读次数:
394
注意添加权限: 代码如下://更新短信private void
UpdateSMS(){/*update支持的协议有很多:SMS_RAW_MESSAGE SMS_STATUS_PENDING SMS_ALL
SMS_FAILED SMS_QUEUED SM...
分类:
移动开发 时间:
2014-06-03 07:26:15
阅读次数:
371
在项目中,登录时需要enter按钮提交页面所以需要监听键盘输出但是在火狐中不支持event.code所以换了中写法1:form中加入时间传入event2:监听判断是否为enter按钮。
function onKeyPressBlockNumbers(e) { var key = ...
分类:
编程语言 时间:
2014-05-31 16:55:04
阅读次数:
281
Plaster Processing Plant is key crushing
equipment used to crush the large Plaster ore into small particles. We are a
major plaster crusher manufactur...
分类:
其他好文 时间:
2014-05-31 15:52:02
阅读次数:
237
引子:
在大数据时代,总希望存在一个Key-value存储机制,像HashMap一样在内存中处理大量(千万数量级)的key-value对,以便提高数据查找、修改速度。
所以,我们会想到,Memcached和Redis这两个NoSQL数据库(严格来讲二者都不可以算作数据库)。 1、Memcach...
分类:
其他好文 时间:
2014-05-31 15:35:29
阅读次数:
293
有时候我们在APK安装时由于工程制定了UID,换过签名后可能出现类似
INSTALL_FAILED_SHARED_USER_INCOMPATIBLE 或 INSTALL_FAILED_UPDATE_INCOMPATIBLE
的错误,对于后者我们可以通过Logcat看到具体的比如说 has no si...
分类:
其他好文 时间:
2014-05-31 15:33:30
阅读次数:
245
Mybatis自动生成代码,需要用到mybatis
Generator,详见http://mybatis.github.io/generator/configreference/generatedKey.htmlinsert语句如果要返回自动生成的key值,一般会在insert里加入useGener...
分类:
其他好文 时间:
2014-05-30 21:44:12
阅读次数:
593
Design and implement a data structure for Least
Recently Used (LRU) cache. It should support the following
operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-05-30 15:09:06
阅读次数:
223