查看当前支持的存储引擎mysql>showengines;+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
|Engine|Support|Comment|Transactions|XA|Savepoints|
+--------------------+-------..
分类:
数据库 时间:
2015-07-21 19:05:09
阅读次数:
186
Error code:1728 Cannot load from mysql.proc. The table is probably corrupted
http://bugs.mysql.com/bug.php?id=50183
原因是mysql.proc 在5.1 comment char(64) -> 5.5 comment text 导致
The difference see...
分类:
数据库 时间:
2015-07-21 17:03:11
阅读次数:
259
有一个矩阵,每次查询一个子矩阵,判断这个子矩阵的最大值是不是在这个子矩阵的四个角上裸的二维RMQ 1 #pragma comment(linker, "/STACK:1677721600") 2 #include 3 #include 4 #include 5 #include 6 #inc...
分类:
其他好文 时间:
2015-07-20 22:45:45
阅读次数:
123
Solution: 根据树的遍历道的时间给树的节点编号,记录下进入节点和退出节点的时间。这个时间区间覆盖了这个节点的所有子树,可以当做连续的区间利用线段树进行操作。/* 线段树*/#pragma comment(linker, "/STACK:102400000,102400000")...
分类:
其他好文 时间:
2015-07-20 18:35:38
阅读次数:
96
效果
全部代码,粘贴可用
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">
无标题文档
#comment textarea{height:100px;}
#comment p span{color:red;}
...
分类:
Web程序 时间:
2015-07-20 16:40:22
阅读次数:
144
dirname属性
input 和 textarea 元素有了一个新元素 dirname,用于用户所设置的提交的方向性的控制(译注,即书写的方向性,ltr或rtl)。
form action="addcomment.cgi" method=post>
p>label>Comment: input type=text name="comment" dirname="comment.di...
分类:
Web程序 时间:
2015-07-19 13:32:19
阅读次数:
171
DOM文档中,每个节点都有一些重要的属性:最重要的是nodeType,它描述该节点是什么---元素(element)、属性(attribute)、注释(comment)、文本(text)或者其他几种类型(共12个),nodeType:1表示元素节点,3表示文本节点。另外一个重要的性质是nodeNam...
分类:
编程语言 时间:
2015-07-18 21:11:50
阅读次数:
171
修改表名alter table table_name rename to new_table_name增加列alter table tablename add columns(c1 string comment 'xxxx',
c2 long comment 'yyyy')修改列名alter table tablename change column c_Old c_New int comment...
分类:
其他好文 时间:
2015-07-18 18:36:19
阅读次数:
257
create table sequence ( seq_name VARCHAR(50) NOT NULL COMMENT '序列名称', min_val INT UNSIGNED NOT NULL COMMENT '最小值', max_val INT UNSIGNED NOT NULL C...
分类:
数据库 时间:
2015-07-15 13:07:17
阅读次数:
173
#include #include #include #pragma comment(lib, "opengl32.lib")#pragma comment(lib, "glut32.lib")#pragma comment(lib, "glu32.lib")#pragma comment(lib,...
分类:
其他好文 时间:
2015-07-14 22:27:48
阅读次数:
147