R: Compiling mysql-3.23.21on SCO 3.2V5.0.5 (fwd)

R: Compiling mysql-3.23.21on SCO 3.2V5.0.5 (fwd)

Post by Boyd Lynn Gerbe » Mon, 31 Jul 2000 04:00:00



Here is a patch that is needed for mysql-3.23.21-beta

--

ZENEZ   3748 Valley Forge Road, Magna Utah  84044
Office 801-250-0795 FAX 801-250-7975

---------- Forwarded message ----------
Date: Sun, 30 Jul 2000 06:02:31 +0300 (EEST)


Subject: Re: R: Compiling mysql-3.23.21on SCO 3.2V5.0.5

Hi!


Boyd> I guess this is a bug.  My server had been up for 50 days without
Boyd> restarting.  I ran the show processlist and I got lost connection to
Boyd> server and my server restarted.  I guess I need to pass this on to the
Boyd> mysql people.

The problem is that pthread_kill() with signal 0 doesn't work with
FSU threads as it supposed to do :(

Fix:

=== cd /my/mysql/sql/
=== /my/gnu/bin/cvs diff -u sql_show.cc

Index: sql_show.cc
===================================================================
RCS file: /home/cvs/mysql/sql/sql_show.cc,v
retrieving revision 1.19
diff -u -r1.19 sql_show.cc
--- sql_show.cc 2000/07/27 23:49:58     1.19

   List<Item> field_list;
   I_List<thread_info> thread_infos;
   ulong max_query_length= verbose ? max_allowed_packet : PROCESS_LIST_WIDTH;
-  DBUG_ENTER("mysql_list_processes");
+  DBUG_ENTER("mysqld_list_processes");

   field_list.push_back(new Item_int("Id",0,7));

        if (tmp->mysys_var)
          pthread_mutex_unlock(&tmp->mysys_var->mutex);

-#ifndef DONT_USE_THR_ALARM
+#if !defined(DONT_USE_THR_ALARM) && ! defined(SCO)
        if (pthread_kill(tmp->real_id,0))
          tmp->proc_info="*** DEAD ***";   // This shouldn't happen
 #endif
=== Exit status: 1

Regards,
Monty

 
 
 

1. SCO 3.2v5.0.5 Error on Fixed Disk - Am I dead?

I have an old 386 based server running SCO 3.2v5.0.5 and an Old Foxpro
for Unix application.

The power company shutoff the power to the building without warning us
adequately, to do re-wiring in the area.
The server, although on a battery backup, eventually just lost power.

When power was restored and we re-booted the server I got some bad

ERROR in Fixed Disk (Minor 4)
Blkno-244, cmd-0002, Status=0004, sector-16553, Cyl Head 1/7, Boot not
found
Cannot open
Stage 1 boot failure
Error Loading HD(40)/boot

Is there any chance we can get around this problem at least briefly?
Any suggestions on things to try before I write off the disk?

Thanks,
Chuck

2. s3 trio 3d/2x

3. Fwd: rpm-4.2, rpm-4.1.1, rpm-4.0.5, librpm404-4.0.5 release (finally)

4. HOWTO use Sun 4119 monitor with PC

5. FBSD-3.4 and mysql-3.23.26beta

6. Advanced Wireless Settings

7. Does anyone has experence to compile omniORB3.02 under SCO OSR5.0.5?

8. resource monitoring, system usage

9. SCO OpenServer 3.2v5.0.0/3.2v5.0.2 - rdist - Parses filenames for syntax !!!

10. too many files open error(23) ????? mysql

11. MySQL 3.23.22 Compile on AIX

12. Problems compiling MySQL 3.23.40 with Forte 6u1

13. Input - Make sure input_dev is initialized where needed [23/23]