周一(2014-11-17)有个项目进行变更,而且是重大变更,DB测操作从早上持续到下午17点,QA同事到晚上10点测试后发现,slave上的数据与master上不一致。忘介绍了,该项目的该模块有读请求以及delete逻辑在上面,被吓到没?这个问题应该在情理之中但又在意料之外,其实DBA在下午DB变更时便遇到slave卡住:Could not execute Delete_rows event o...
分类:
其他好文 时间:
2014-11-22 02:02:33
阅读次数:
193
可以静态绑定数据源,这样就自动为DataGridView控件添加 相应的行。假如需要动态为DataGridView控件添加新行,方法有很多种,下面简单介绍如何为DataGridView控件动态添加新行的两种方 法:方法一:int index=this.dataGridView1.Rows.Add()...
1.frameset frameset最外层,使用时需要去除body改用frameset。--上下分,第一行100像素,剩余为第二行,rows换成cols,则变为左右分。frameborder=“no”,去掉分割线。--noresize,禁止调整窗口大小。--scrolling="no",取消显示....
分类:
Web程序 时间:
2014-11-21 10:23:03
阅读次数:
234
1、使用SHOW语句找出在服务器上当前存在什么数据库: mysql> SHOW DATABASES; +----------+ | Database | +----------+ | mysql || test | +----------+ 3 rows in set (0.00 sec)2、创建一...
分类:
数据库 时间:
2014-11-20 23:19:41
阅读次数:
328
解决: 开机启动 进入 升级之前的内核系统 然后 执行卸载 VMware 命令# vmware-uninstall You have gotten this message because you are either downgrading VMwareWorkstation, Player, ....
分类:
系统相关 时间:
2014-11-20 15:09:07
阅读次数:
1840
使用方法public partial class HomeView : PhoneApplicationPage{ public HomeView() { InitializeComponent(); Loaded += HomeView_Loaded; ...
centos yum 错误 Error: Cannot find a valid baseurl for repo: addons 装了个CentOS 6.5,使用yum时出现了下面的错误提示。
[root@localhost ~]# yum install lrzsz
Loaded plugins: fastestmirror
Determining fastest mirrors
Co...
分类:
Web程序 时间:
2014-11-19 16:07:35
阅读次数:
223
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.
For example,
Given the following matrix:
[
[ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ]
]
...
分类:
其他好文 时间:
2014-11-19 12:42:43
阅读次数:
149
1230: Magnets
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 24 Solved: 13
[Submit][Status][Web
Board]
Description
Mad scientist Mike entertains himself by arranging rows of dominoes. H...
分类:
其他好文 时间:
2014-11-19 11:23:56
阅读次数:
135
Apache Solr查询语法查询参数常用:q - 查询字符串,必须的。fl - 指定返回那些字段内容,用逗号或空格分隔多个。start - 返回第一条记录在完整找到结果中的偏移位置,0开始,一般分页用。rows - 指定返回结果最多有多少条记录,配合start来实现分页。sort - 排序,格式:...
分类:
其他好文 时间:
2014-11-19 10:39:27
阅读次数:
323