2007-12-05から1日間の記事一覧

Pluggable Storage Engineの作り方

について調べています。とりあえずBrianがいくつか書いていたのを思い出したのでリンクを載せます。 http://tangent.org/543/Skeleton_Engine_for_MySQL.html http://tangent.org/576/Skeleton_Engine_for_MySQL_0%2E7_%28default%29.html http://hg.tangent…

5.1.22-rcのconfigure

./configure \ '--prefix=/usr/local/mysql' \ '--localstatedir=/usr/local/mysql/data' \ '--libexecdir=/usr/local/mysql/bin' \ '--with-comment=MySQL Community Server (GPL)' \ '--with-server-suffix=' \ '--enable-thread-safe-client' \ '--enable…

skeleton engineのビルド方法

MySQL本体が必要、ということでmysql-5.1.22-rc.tar.gz等を入手。configure/make/make installしておく。skeleton engineも入手してビルド。ver0.7が最新? http://download.tangent.org/skeleton_engine-0.7.tar.gz configureでMySQLのソースとライブラリを…

mir ストレージエンジンができたよー(^^/

恒例の名前だけ変えた奴ができました。 [test]> install plugin mir soname 'libmir_engine.so'; Query OK, 0 rows affected (0.10 sec) [test]> create table t1 (c1 int) engine = mir; Query OK, 0 rows affected (0.01 sec) [test]> show create table t…

マクロのメモ

Pluggable Storage Engine実装に向けての知識強化のためのメモ。configure.in関連。 マクロ 説明 AC_INIT(filename) Autoconfの初期化の実行。引数のfilenameはディレクトリが正しく指定されていることを確認するために使用される。 AC_CONFIG_AUTH_DIR(dire…