我的理解是: step1,假设表里有100行有序记录, 事务1从row 1 开始读取到了row 50 并准备继续读取完这100行。 要注意的是,sql server 会自动释放已经读取了的row的锁。 step2,这时候,另外一个事务2 修改了 事务1已经读取并且被 sql server 释放...
分类:
数据库 时间:
2015-01-12 22:18:07
阅读次数:
170
1. Linux安装盘插入光驱(已连接,启用时连接,使用ISO映像文件)2. 挂载光驱[root@localhost ~]# mount /dev/cdrom /mnt/mount: block device /dev/sr0 is write-protected, mounting read-on...
分类:
系统相关 时间:
2015-01-12 20:59:09
阅读次数:
1592
#include<stdio.h>
#include<zlib.h>
//Demo
intdecompress_file(char*infilename,char*outfilename)
{
intnum_read=0;
charbuffer[128];
gzFileinfile=gzopen(infilename,"rb");
FILE*outfile=fopen(outfilename,"wb");
if(!infile||!outfile){
return-1;
}
..
分类:
其他好文 时间:
2015-01-12 19:31:49
阅读次数:
192
1.增大proxy_read_timeout;proxy_send_timeout的参数。
分类:
其他好文 时间:
2015-01-12 16:49:31
阅读次数:
153
http://www.qtcn.org/bbs/read-htm-tid-57817.html源码下载:https://git.oschina.net/zhjun5337/Qt360-10.01、2、Qmake3、qmake -spec win32-msvc2008 -r -tp vc new360...
分类:
其他好文 时间:
2015-01-12 16:18:13
阅读次数:
150
#include#include#include#include#include#define N 8010#define TT 200010#define inf 1000000000using namespace std;inline int read(){ int x=0,f=1;cha...
分类:
其他好文 时间:
2015-01-12 16:15:16
阅读次数:
267
import urllib2import urllibcontent=urllib2.urlopen("http://www.cnblogs.com/sayary/archive/2013/03/11/2952638.html").read()##print content##href=conten...
分类:
Web程序 时间:
2015-01-12 14:33:56
阅读次数:
163
RT----------------操作如下两步可加快打开速度:1、Program Files\Foxit Software\Foxit Reader下面的Shell Extensions文件夹删除(删除前最好做备份)2、Program Files\Foxit Software\Foxit Read...
分类:
其他好文 时间:
2015-01-12 12:58:17
阅读次数:
466
InputStream 从输入数据流中读取字节,这里主要说明它的read方法. * InputStream这个抽象类是所有代表字节输入数据流的类的父类.应用的话需要定义一个InputStream的子类, * 这个子类需要提供一个方法用来返回输入流的下一个字节.jdk API中对InputStream...
分类:
编程语言 时间:
2015-01-12 11:26:38
阅读次数:
159
今日编译apache时出错:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error:APR not found. Please read the documentation解决办法:1.下载所需软件包:wgeth...
分类:
Web程序 时间:
2015-01-12 10:37:20
阅读次数:
154