[前][次][番号順一覧][スレッド一覧]

mysql:4397

From: Yukihiro KAWADA <Yukihiro KAWADA <kawada@xxxxxxxxxx>>
Date: Wed, 3 Oct 2001 08:41:20 +0900 (JST)
Subject: [mysql 04397] Re: berkeley DB

河田です。

tateyan writes:
 > configure が通らないというわけではないのですよね?

ええ。
berkeley DBをリンクしなければ問題もありません。

 > コンパイルエラーとして出力されるならば そのメッセージ
 > とか...

ha_berkeley.cc: In function `int berkeley_cmp_packed_key(DB *, const DBT *, const DBT *)':
ha_berkeley.cc:354: `struct __db_dbt' has no member named `app_private'
ha_berkeley.cc:354: `struct __db_dbt' has no member named `app_private'
ha_berkeley.cc: In method `struct DBT * ha_berkeley::create_key(DBT *, unsigned int, char *, const byte *, int = 500)':
ha_berkeley.cc:749: `struct __db_dbt' has no member named `app_private'
ha_berkeley.cc: In method `struct DBT * ha_berkeley::pack_key(DBT *, unsigned int, char *, const byte *, unsigned int)':
ha_berkeley.cc:787: `struct __db_dbt' has no member named `app_private'
ha_berkeley.cc: In method `int ha_berkeley::read_row(int, char *, unsigned int, DBT *, DBT *, bool)':
ha_berkeley.cc:1378: `struct __db_dbt' has no member named `app_private'
ha_berkeley.cc: In method `int ha_berkeley::index_read_idx(byte *, unsigned int, const byte *, unsigned int, ha_rkey_function)':
ha_berkeley.cc:1402: warning: assignment of negative value `-1' to `uint'
ha_berkeley.cc: In method `longlong ha_berkeley::get_auto_increment()':
ha_berkeley.cc:1968: `struct __db_dbt' has no member named `app_private'
make: Fatal error: Command failed for target `ha_berkeley.o'

ということで、__db_dbt にはapp_privateという
メンバーがない。(実際にない in db.h)
app_privateを持つのは __db_env の方のstruct
です。

berkeley DBの版が微妙に違うのでしょうかね?

[前][次][番号順一覧][スレッド一覧]

      4386 2001-10-02 08:32 [Yukihiro KAWADA <kaw] berkeley DB                             
      4392 2001-10-02 18:11 ┗[Seiji Tateyama <tate]                                       
      4393 2001-10-02 18:13  ┗[Yukihiro KAWADA <kaw]                                     
      4396 2001-10-03 00:58   ┗[tateyan <tateyan@xxx]                                   
->    4397 2001-10-03 08:41    ┗[Yukihiro KAWADA <kaw]                                 
      4399 2001-10-03 10:34     ┗[Seiji Tateyama <tate]                               
      4400 2001-10-03 11:10      ┗[Yukihiro KAWADA <kaw]