码迷,mamicode.com
首页 >  
搜索关键字:commit    ( 5913个结果
SqlServer存储过程模板
create procedure [spname]([spvariable])asbeginbegin transactionbegin try--具体sql过程commit;end trybegin catchrollback;end catchend
分类:数据库   时间:2014-10-23 11:58:01    阅读次数:207
innodb_flush_log_at_trx_commit
在mysql-5.6中innodb_flush_log_at_trx_commit的默认值为1.mysql>showvariableslike"innodb_flush_log%";+--------------------------------+-------+|Variable_name|Value|+--------------------------------+-------+|innodb_flush_log_at_timeout|1||innodb_flush_log_at..
分类:数据库   时间:2014-10-22 18:33:55    阅读次数:135
php mysql 事务处理
MYSQL的事务处理主要有两种方法。 1、用begin,rollback,commit来实现begin开始一个事务rollback事务回滚commit事务确认2、直接用set来改变mysql的自动提交模式MYSQL默认是自动提交的,也就是你提交一个QUERY,它就直接执行!我们可以通过set aut...
分类:数据库   时间:2014-10-22 10:58:07    阅读次数:239
[Xcode 自带svn的使用]
xcode自带svn的使用1、代码中 某文件后面有 “M” 标记,表示该文件已被修改,需要commit. (右键该文件 -> source control -> commitselected file...)2、代码中 某文件后面有 “A” 标记,表示该文件是新添加的,已受SVN管理,需要c...
分类:其他好文   时间:2014-10-21 17:19:54    阅读次数:176
One or more files are in a conflicted state
http://blog.csdn.net/caiwenfeng_for_23/article/details/37501249解决代码冲突如果commit时出现“You have to update your work copy first.”红色警告,说明版本库中的此文件已经被其他人修改了。请先点...
分类:其他好文   时间:2014-10-21 12:14:07    阅读次数:196
SQL Server 数据库游标选项
背景: 游标控制服务器端游标的行为,相关的T-SQL如下: declare , open , fetch , close , deallocate。1、 cursor_close_on_commit{on | off}; 如果设置为on 在事务提交时或回滚时会关闭打开的游标, 如果设置为...
分类:数据库   时间:2014-10-20 13:26:26    阅读次数:150
git remove cache
若在提交.gitignore之前,不小心提交了无用的文件入repo,可以用以下命令在repo中去除这些文件git rm -r --cached git add .git commit -m '.gitignore is now working'源地址:http://stackoverflow.com...
分类:系统相关   时间:2014-10-20 11:39:33    阅读次数:204
Git用法
1、 git init 2、 git remote add origin https://git.oschina.net/hongweizhiyuan/xxxxxx.git 3、 git add --all 4、 git commit -m "update" 5、 git pull origin master? (如果报错,输入它) 6、 git push...
分类:其他好文   时间:2014-10-20 02:18:07    阅读次数:137
LuceneIndexFileDeleter会保留初始的commit
给实时索引添加了merge策略,持续更新时发现有做merge,但索引目录中的段数远远大于RealTimeIndexWriter中的段数,就是有些merge的段应该删除,目录中没有删除。而关闭searcher之后索引目录就变小了,段数也对了。 定位之后发现IndexFileDeleter构造函数中有个checkpoint(segmentInfos,false),false会将第一个commit加入...
分类:Web程序   时间:2014-10-18 22:21:46    阅读次数:255
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!