IMPORTANT NOTE:
===============
In HPUX using _r libraries does not even connect to the database and dumps core. So _r libraries are not used in this platform.
To test _r libraries, modify the compile.sh as follows:

1. instead of libmyodbc3.a change it to libmyodbc3_r.a
2. instead of libmysqlclient.a change it to libmysqlclient_r.a
3. In the db_test.c code, comment out the EventInit() call.

File Description
================
This is program is written to test the SIGPIPE crash issue of MySQL. Run this program atleast for 10 hours to reproduce.


INSTRUCTIONS FOR USING
======================
Before compiling, make sure that you run setup.hp to source the environment.

1. To compile to the program say "sh compile.sh"

2. To run the program "./db_test"

3. This program will be keep on running till you press ctrl+c

4. Only when started, it will insert 1000 records into the database after emptying the table.

5. The moment you press ctrl+c, it will execute "SELECT" and show you the table contents.

6. ALWAYS MAKE SURE THAT you use _r libraries of mysql to link in compile.sh script.

7. To start the mysql server say "sh start.sh"

8. To stop the mysql server say "sh stop.sh"

9. If you get new set libraries or include files, replace them under include and lib directories. Also under
   4.0.16 directory.

