posts - 33,  comments - 70,  trackbacks - 0
  2009年3月25日
     摘要: tabs=true

Replace the if structure at the bottom of the file with the following:

# Last step: fire up vim.
if [ "$gui" ]; then
if $tabs && [[ `$binary --serverlist` = "VIM" ]]; then
exec "$binary" -g $opts --remote-tab-silent ${1:+"$@"}
else
exec "$binary" -g $opts ${1:+"$@"}
fi
else......

  阅读全文
posted @ 2010-11-17 15:32 地狱男爵(hellboys) 阅读(1036) | 评论 (0)编辑 收藏
     摘要: 1、选取最适用的字段属性
2、使用连接(JOIN)来代替子查询(Sub-Queries)
3、使用联合(UNION)来代替手动创建的临时表
4、事务
5、锁定表
6、使用外键
7、使用索引
8、优化的查询语句  阅读全文
posted @ 2009-03-25 13:35 地狱男爵(hellboys) 阅读(2700) | 评论 (2)编辑 收藏
<2009年3月>
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

常用链接

随笔分类

随笔档案

文章档案

相册

连接

最新随笔

搜索

  •  

最新评论

阅读排行榜

评论排行榜