List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:September 13 2002 8:48pm
Subject:Re: my_thread_init() or mysql_thread_init()
View as plain text  
At 16:35 +0200 9/13/02, Vlatko Surlan wrote:
>  Hello all. I have a problem(?) regardin mysql C API.
>Manual is talking about mysql_thread_init but all i can
>find in mysql headers is my_thread_init? What goes on here?

The my_ functions were renamed to mysql_ functions in 4.0.0.

http://www.mysql.com/doc/en/News-4.0.0.html

>
>Here is a vivid explanation of what i am talking about
>
>/var/tmp/vsurlan/mysql/include/mysql> ll
>16:29
>total 430
>-rw-r--r--   1 vsurlan    student1      3864 Sep  9 09:22 chardefs.h
>-rw-r--r--   1 vsurlan    student1      3445 Sep  9 09:22 dbug.h
>-rw-r--r--   1 vsurlan    student1      2082 Sep  9 09:22 errmsg.h
>-rw-r--r--   1 vsurlan    student1      9263 Sep  9 09:22 history.h
>-rw-r--r--   1 vsurlan    student1      3449 Sep  9 09:22 keymaps.h
>-rw-r--r--   1 vsurlan    student1      5864 Sep  9 09:22 m_ctype.h
>-rw-r--r--   1 vsurlan    student1      7594 Sep  9 09:22 m_string.h
>-rw-r--r--   1 vsurlan    student1     21083 Sep  9 09:22 my_config.h
>-rw-r--r--   1 vsurlan    student1     31525 Sep  9 09:22 my_global.h
>-rw-r--r--   1 vsurlan    student1      1579 Sep  9 09:22 my_list.h
>-rw-r--r--   1 vsurlan    student1      2696 Sep  9 09:22 my_net.h
>-rw-r--r--   1 vsurlan    student1      1205 Sep  9 09:22 my_no_pthread.h
>-rw-r--r--   1 vsurlan    student1     21983 Sep  9 09:22 my_pthread.h
>-rw-r--r--   1 vsurlan    student1     25751 Sep  9 09:22 my_sys.h
>-rw-r--r--   1 vsurlan    student1     10787 Sep  9 09:22 mysql.h
>-rw-r--r--   1 vsurlan    student1      8677 Sep  9 09:22 mysql_com.h
>-rw-r--r--   1 vsurlan    student1       580 Sep  9 09:22 mysql_version.h
>-rw-r--r--   1 vsurlan    student1      8188 Sep  9 09:22 mysqld_error.h
>-rw-r--r--   1 vsurlan    student1      5869 Sep  9 09:22 raid.h
>-rw-r--r--   1 vsurlan    student1     24120 Sep  9 09:22 readline.h
>-rw-r--r--   1 vsurlan    student1      1605 Sep  9 09:22 sslopt-case.h
>-rw-r--r--   1 vsurlan    student1      1296 Sep  9 09:22 sslopt-longopts.h
>-rw-r--r--   1 vsurlan    student1      1239 Sep  9 09:22 sslopt-usage.h
>-rw-r--r--   1 vsurlan    student1      1013 Sep  9 09:22 sslopt-vars.h
>-rw-r--r--   1 vsurlan    student1      2724 Sep  9 09:22 tilde.h
>/var/tmp/vsurlan/mysql/include/mysql> grep mysql_thread_init *
>/var/tmp/vsurlan/mysql/include/mysql> grep my_thread_init *
>my_pthread.h:extern my_bool my_thread_init(void);
>mysql_com.h:my_bool my_thread_init(void);
>/var/tmp/vsurlan/mysql/include/mysql> mysql -V
>mysql  Ver 11.18 Distrib 3.23.52, for hp-hpux11.00 (hppa2.0w)
>
>  Thanks for any and all help and have a good time...

Thread
my_thread_init() or mysql_thread_init()Vlatko Surlan13 Sep
  • Re: my_thread_init() or mysql_thread_init()Paul DuBois14 Sep