pquery
pquery copied to clipboard
pquery is an open-source (GPLv2 licensed) multi-threaded test program, written in C++, created to stress test the MySQL server (in any flavor), either randomly or sequentially, for QA purposes.
In gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 I had the following error while compiling: In file included from /usr/include/string.h:519, from /home/iolalla/src/pquery/src/third_party/inih++/lib/ini.c:12: In function ‘strncpy’, inlined from ‘strncpy0’ at /home/iolalla/src/pquery/src/third_party/inih++/lib/ini.c:55:3, inlined from ‘ini_parse_file’...
rename STATIC_LIB to STATIC_LIBRARY.
pquery SQL is failing with `ERROR: 2014 - Commands out of sync; you can't run this command now`. ``` INSERT INTO t1 VALUES(0xAFA4);#ERROR: 2014 - Commands out of sync; you...
``` ramesh@qaserver-06:/qa/ps/ps_56/pquery$ cmake . -DPERCONASERVER=ON -DBASEDIR=/qa/ps/PS080818-percona-server-5.6.41-84.1-linux-x86_64-debug -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc --...
For example: select for update would lock up several rows. This could block other threads writing on these rows.
Can I use pquery to test PostgreSQL?
``` ~/pquery$ cmake . -DMARIADB=ON -DBASEDIR=/test/MD180223-mariadb-11.0.1-linux-x86_64-opt ... -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- * BASEDIR is set, looking for MariaDB in /test/MD180223-mariadb-11.0.1-linux-x86_64-opt -- * Found MariaDB library: /test/MD180223-mariadb-11.0.1-linux-x86_64-opt/lib/libmysqlclient.a...