Common Lisp Package: COM.HACKINGHAT.CL-MYSQL-TEST

README:

FUNCTION

Private

LONG-TEST (N)

Loop from 1 to

TEST-COUNT-CONNECTIONS-DIRECTLY

There will, from time-to-time be NILs in the arrays so we better make sure that we can handle them and they don't interfere with the count

TEST-THREAD-1

Testing threading is always a bit suspect but we can test a little bit of it to make sure we have the general idea correct.

TEST-THREAD-2

This is the reverse of test-thread-1 in as much as we have a long running query and our main thread waits until the long running query is completed. We use a closure to set a flag to indicate success.

TEST-THREAD-3

The killer thread test. Start 100 threads to run in the next 1-3 seconds that will insert the numbers from 1 to 100 into a table. Join the threads and then run a query to verify that all was well. This should demonstrate whether we have a problem with locking or not.

TEST-USE-RESULT-1

Test out the self-service result set stuff. It works but it's a bit tricky to build a working result set/row processing loop ...

TEST-USE-RESULT-2

We should be able to use two result sets simultaneously.

Undocumented

GETZ

RESET-Z

SETUP-TEST-DATABASE (MIN MAX)

TEST

TEST-AQUIRE-CONNECTION

TEST-BASE

TEST-BIND-OUT-OF-RANGE

TEST-CAN-AQUIRE

TEST-CFFI-UTF8-LENGTH

TEST-CONFIGURE-BINDINGS

TEST-CONNECTION

TEST-CONNECTION-EQUAL

TEST-CONTAINS

TEST-COUNT-CONNECTIONS

TEST-ESCAPE-STRING

TEST-EXTRACT-FIELD

TEST-NEXT-INDEX-AND-BIND

TEST-NTH-ROW

TEST-POOL

TEST-POOL-EXPAND-CONTRACT

TEST-PREPARE

TEST-SETUP

TEST-STRING-TO-DATE

TEST-STRING-TO-FLOAT

TEST-STRING-TO-INTEGER

TEST-STRING-TO-RATIO

TEST-STRING-TO-SECONDS

TEST-STRING-TO-UNIVERSAL-TIME

TEST-WITH-CONNECTION

Z

VARIABLE

Public

Undocumented

*HOST*

*PASSWORD*

*USER*

Private

Undocumented

*CONN*

*Z*

*Z-MUTEX*