摘要: 数据库表之间的连接类型 1,内连接 inner join 内连接,对于mysql和postgresql是默认的连接方式 连接的表中,结果只显示完全符合条件的表记录信息,使用ON来指定表之间的连接条件 2,左外连接 left [outer] join 左外连接,从左表那里返回所有的符合where的记录 阅读全文
posted @ 2017-05-17 17:01 hellowcf 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 覆盖率检查 需要gcov和lcov工具,gcov在gcc中自带,lcov需要自行下载安装 重新编译 ./configure --prefix=`pwd`/install --with-perl --with-python --with-tcl --enable-nls --with-gssapi - 阅读全文
posted @ 2017-05-16 15:34 hellowcf 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 安装软件包 yum groupinstall "Development Tools" yum install zlib-devel tcl-devel readline-devel python-devel perl-devel openssl-devel openldap-devel libxml 阅读全文
posted @ 2017-05-16 15:32 hellowcf 阅读(573) 评论(0) 推荐(0) 编辑
摘要: MySQL有三种锁的级别:页级、表级、行级。 MyISAM和MEMORY存储引擎采用的是表级锁(table-level locking); BDB存储引擎采用的是页面锁(page-levellocking),但也支持表级锁; InnoDB存储引擎既支持行级锁(row-level locking),也 阅读全文
posted @ 2017-05-16 11:30 hellowcf 阅读(237) 评论(0) 推荐(0) 编辑