Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
bdb_cache.test
Package: mysql-4.1.16-win-src.zip [view]
Upload User: romrleung
Upload Date: 2022-05-23
Package Size: 18897k
Code Size: 1k
Category:
MySQL
Development Platform:
Visual C++
- -- source include/have_bdb.inc
- -- source include/have_query_cache.inc
- #
- # Without auto_commit.
- #
- --disable_warnings
- drop table if exists t1, t2, t3;
- --enable_warnings
- flush status;
- set autocommit=0;
- create table t1 (a int not null) engine=bdb;
- insert into t1 values (1),(2),(3);
- select * from t1;
- show status like "Qcache_queries_in_cache";
- drop table t1;
- set autocommit=1;
- create table t1 (a int not null) engine=bdb;
- begin;
- insert into t1 values (1),(2),(3);
- select * from t1;
- show status like "Qcache_queries_in_cache";
- drop table t1;
- create table t1 (a int not null) engine=bdb;
- create table t2 (a int not null) engine=bdb;
- create table t3 (a int not null) engine=bdb;
- insert into t1 values (1),(2);
- insert into t2 values (1),(2);
- insert into t3 values (1),(2);
- select * from t1;
- select * from t2;
- select * from t3;
- show status like "Qcache_queries_in_cache";
- show status like "Qcache_hits";
- begin;
- select * from t1;
- select * from t2;
- select * from t3;
- show status like "Qcache_queries_in_cache";
- show status like "Qcache_hits";
- insert into t1 values (3);
- insert into t2 values (3);
- insert into t1 values (4);
- select * from t1;
- select * from t2;
- select * from t3;
- show status like "Qcache_queries_in_cache";
- show status like "Qcache_hits";
- commit;
- show status like "Qcache_queries_in_cache";
- drop table if exists t1, t2, t3;
- # End of 4.1 tests