1,事务处理innodb 支持事务功能,myisam 不支持。Myisam
的执行速度更快,性能更好。2,select ,update ,insert ,delete
操作MyISAM:如果执行大量的SELECT,MyISAM是更好的选择InnoDB:如果你的数据执行大量的INSERT或UPDATE...
分类:
数据库 时间:
2014-06-06 21:36:17
阅读次数:
381
下载远程仓库 git clone 分支管理删除本地分支 $git branch -d $git
branch -D 查看所有分支 $git branch -a删除远程分支 $git push origin :git v1.7.0之后 $git push
origin --delete ...
分类:
其他好文 时间:
2014-06-06 16:40:23
阅读次数:
174
一 “无继承”情况下的对象构造考虑下面程序片段:1234567891011Point
glocal; //全局内存配置Point foobar(){Point local;//局部栈内存配置Point *heap=new
Point;//heap内存配置*heap=local;delete heap...
分类:
其他好文 时间:
2014-06-04 17:02:24
阅读次数:
271
1、触发器:trigger 1、触发器创建语法4要素: 1、监视地点:table
2、监视事件:insert / update / delete 3、触发时间:after / before 4、触发事件:insert / update /
delete 2、需求: 1、商品表:goods 订单表:....
分类:
数据库 时间:
2014-06-04 16:20:35
阅读次数:
356
1,HTTP常见的方法GET 获取指定资源POST 2M
向指定资源提交数据进行处理请求,在RESTful风格中用于新增资源 HE A D 获取指定资源头部信息PUT 替换指定资源(不支持浏览器操作)DELETE
删除指定资源2,配置服务器的put请求方式: 1>n 打开终端p cd /etc/ap...
分类:
其他好文 时间:
2014-06-04 14:40:00
阅读次数:
264
特殊工具与技术--优化内存分配[续1]三、operator new函数和operator delete 函数– 分配但不初始化内存 首先,需要对new和delete表达式怎样工作有更多的理解。当使用new表达式 string *sp = new string("initialized");
的时候,实际上发生三个步骤: 1)首先,表达式调用名为operatornew 的标准库函数,分配足够大...
分类:
编程语言 时间:
2014-06-04 13:42:19
阅读次数:
453
方法一:1 SimpleDateFormat dateformat=new
SimpleDateFormat("yyyy-MM-dd");2 String today=dateformat.format(new Date());3 4
String delSql = "delete from ssd...
分类:
数据库 时间:
2014-06-03 16:42:37
阅读次数:
598
One reason to use the wrapper objects is when
you want to augment the value and persist state. Because primitives are not
objects, they cannot be augm...
分类:
移动开发 时间:
2014-06-03 16:20:47
阅读次数:
345
1.运行终端,执行命令行进入missing file目录,然后运行svn delete
nameOfMissingFile或git rm nameOfMissingFile2.删除隐藏的.svn文件。命令行运行defaults write
com.apple.finder AppleShowAllF...
分类:
其他好文 时间:
2014-06-03 16:20:06
阅读次数:
405
Te Regular Expression literal also creates new
objects in ECMA Script 5. And one last note that calling RegExp() without new(as
a function, not as a c...
分类:
编程语言 时间:
2014-06-02 15:50:52
阅读次数:
280