查看所有触发器 show TRIGGERSDELIMITER ;;CREATE TRIGGER
`trigger1触发器名` BEFORE UPDATE ON `触发器所在表名` FOR EACH ROW insert into templete
(old) values (NEW.bz);;DEL...
分类:
数据库 时间:
2014-05-08 10:36:30
阅读次数:
306
select * from smt_RolePermissiondelete from
smt_RolePermissiondelete from smt_RolePermission where ModuleId NOT
IN(105,110,111,112,113,73)insert into ...
分类:
其他好文 时间:
2014-05-08 09:59:13
阅读次数:
237
一、Combiner作用1、combiner最基本是实现本地key的聚合,对map输出的key排序,value进行迭代。如下所示:map: (K1, V1) →
list(K2, V2)combine: (K2, list(V2)) → list(K2, V2)reduce: (K2, list(V...
分类:
其他好文 时间:
2014-05-08 09:37:49
阅读次数:
472
Dijkstra inAdjacency matrix :int Dijkstra(int
src,int tec, int n){ bool done[1005]; int d[1005]; memset(done,0,sizeof(done));
map[0][src] ...
分类:
其他好文 时间:
2014-05-08 09:35:51
阅读次数:
398
assume cs:codesgcodesg segment start: ;
设置源地址与目的地址,并使用movsb传送 mov ax, cs mov ds, ax mov si, offset do0 mov ax, 0 mov es,
ax mov di, 200h mov c...
分类:
其他好文 时间:
2014-05-08 08:58:20
阅读次数:
253
题目链接Given a set of non-overlapping intervals,
insert a new interval into the intervals (merge if necessary).You may assume
that the intervals were ini...
分类:
其他好文 时间:
2014-05-08 08:40:51
阅读次数:
367
map坐标:将像素坐标划分成40*30的格子的坐标像素坐标:这个就是图片的那个坐标block坐标:就是屏幕划分成3*3的坐标,这个还得看看。当从A点移动到B点时,红色的就是离开的区域,蓝色的是进去的区域,着两个区域都是需要通知的。这里的是block坐标,一个客户端屏幕会被划分成3*3屏幕,听经理说这...
分类:
移动开发 时间:
2014-05-08 07:41:17
阅读次数:
305
Given a sorted array and a target value, return
the index if the target is found. If not, return the index where it would be if
it were inserted in or...
分类:
其他好文 时间:
2014-05-08 07:29:02
阅读次数:
285
原文:http://blog.csdn.net/opennaive/article/details/7514146目录MapReduce是干啥的例子统计词频map函数和reduce函数MapReduce是如何工作的词频是怎么统计出来的用户的权利MapReduce的实现参考文献江湖传说永流传:谷歌技术...
分类:
其他好文 时间:
2014-05-08 06:36:39
阅读次数:
435
(1)、pt-table-checksum工具名称
(2)、安装pt-table-checksum
#:wgetwww.percona.com/downloads/percona-toolkit/2.2.2/percona-toolkit-2.2.2.tar.gz
#:tar-xvfpercona-toolkit-2.2.2.tar.gz
#:perlMakefile.PL
#make&&makeinstall
(3)、授权
GRANTupdate,insert,de..
分类:
数据库 时间:
2014-05-08 02:34:32
阅读次数:
501