diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-12-02 10:11:50 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-12-02 10:11:50 -0700 |
commit | 758567104ca22931476f81dda64031606d740f68 (patch) | |
tree | 94e8cdffde8949a7e3a58f3e9de286a7c513553c /client/thimble.cc | |
parent | 98501adef90d44b258b98e0d229ac37ba85e70ee (diff) | |
download | mariadb-git-758567104ca22931476f81dda64031606d740f68.tar.gz |
added loops and other cool stuff to mysqltest
fixed slave to preserve temp tables on slave stop; slave start
added abort-slave-event-count option to mysqld to test the above
added a test case for temp tables with a contantly aborting slave
removed warning in sql_parse.cc
fixed thimble.cc to compile
BitKeeper/etc/ignore:
Added client/thimble support-files/mysql-3.23.29-gamma.spec to the ignore list
client/mysqltest.c:
added while, let, and echo, added fractional sec sleep support
client/thimble.cc:
fixes to make it compile
mysql-test/t/3.23/rpl000001.test:
sleep less
mysql-test/t/3.23/rpl000002.test:
sleep less
mysql-test/t/3.23/rpl000003.test:
sleep less
mysql-test/t/3.23/rpl000005.test:
sleep less
sql/mysqld.cc:
--abort-slave-event count
sql/slave.cc:
remember temp tables when slave thread termintates and restore them on
slave start
sql/slave.h:
--abort-slave-event-count
sql/sql_parse.cc:
remove warning
Diffstat (limited to 'client/thimble.cc')
-rw-r--r-- | client/thimble.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/thimble.cc b/client/thimble.cc index 1c4fdd97ed2..6d1e8a85559 100644 --- a/client/thimble.cc +++ b/client/thimble.cc @@ -2,6 +2,7 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> +#include "my_global.h" static void spawn_stern_thread(pthread_t *t); static int act_goofy(void); @@ -13,6 +14,7 @@ static struct { int msg; } comm = { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, 0 }; + int main(void) { @@ -65,7 +67,7 @@ static int act_goofy(void) return ret; } -static void *be_stern(void *v __attribute((unused))) +static void *be_stern(void *v __attribute__((unused))) { int msg; for (;;) { @@ -87,3 +89,5 @@ static void *be_stern(void *v __attribute((unused))) fputs("You are NOTHING!\n", stderr); return NULL; } + + |