Commit 6dc0fbbe authored by jonas@perch.ndb.mysql.com's avatar jonas@perch.ndb.mysql.com

Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
parents 5f032c0e 47b576d6
...@@ -643,10 +643,10 @@ extern int pthread_dummy(int); ...@@ -643,10 +643,10 @@ extern int pthread_dummy(int);
#define THREAD_NAME_SIZE 10 #define THREAD_NAME_SIZE 10
#ifndef DEFAULT_THREAD_STACK #ifndef DEFAULT_THREAD_STACK
#if defined(__ia64__) #if SIZEOF_CHARP > 4
/* /*
MySQL can survive with 32K, but some glibc libraries require > 128K stack MySQL can survive with 32K, but some glibc libraries require > 128K stack
To resolve hostnames To resolve hostnames. Also recursive stored procedures needs stack.
*/ */
#define DEFAULT_THREAD_STACK (256*1024L) #define DEFAULT_THREAD_STACK (256*1024L)
#else #else
......
...@@ -10,9 +10,6 @@ reset slave; ...@@ -10,9 +10,6 @@ reset slave;
start slave; start slave;
stop slave; stop slave;
start slave; start slave;
select master_pos_wait('master-bin.001',3000)>=0;
master_pos_wait('master-bin.001',3000)>=0
1
select max(a) from t1; select max(a) from t1;
max(a) max(a)
8000 8000
......
...@@ -181,7 +181,7 @@ BEGIN { ...@@ -181,7 +181,7 @@ BEGIN {
t = types[i]; t = types[i];
if (modes[i] == "POINTER") { if (modes[i] == "POINTER") {
ndx = index(t, "*"); ndx = index(t, "*");
t = substr(types[i], 0, ndx - 2); t = substr(types[i], 1, ndx - 2);
} }
printf("\t%s\t%s;\n", t, vars[i]) >> HFILE printf("\t%s\t%s;\n", t, vars[i]) >> HFILE
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment