摘要: 作者:卢飞 来源:DoDBA(mysqlcode) 0、导读 本文几乎涵盖了MySQL Replication(主从复制)的大部分知识点,包括Replication原理、binlog format、复制中如何保证数据一致性、组提交、复制优化、半同步复制、多源复制。 目前很多公司中的生产环境中都使用了 阅读全文
posted @ 2017-01-10 17:59 BigZero 阅读(484) 评论(0) 推荐(0) 编辑
摘要: //查找数组中最大的值: #include int main01() { int a[] = { 32, 654, 31, 75, 15, 984, 19, 33, 77, 22 ,736,11}; int tmp = a[0]; int i; for(i = 1;i tmp) tmp = a[i]; } printf("... 阅读全文
posted @ 2017-01-10 17:51 BigZero 阅读(446) 评论(0) 推荐(0) 编辑