InnoDB & BDB 外し ?
いまBitkeeperからMySQL-5.1-newを落として"./configure --help"を見てたら、今ままではこうだったはずが(MySQL 5.0.18)、
--without-innodb Do not include the InnoDB table handler
なんと、こうなってたw (MySQL 5.1.7?)
--with-innodb enable innobase strage engine (default is no) --with-berkeley-db enable berkeley strage engine (default is no)
もしかしてOracleにより買収されちゃったInnoDB & BDB 外しですか?w どのタイミングでこう変わったのかはしらん.CHANGELOG参照のこと.
いまから買い物行くんでその間にコンパイルして後で確認しよっとw
というか例のストレージエンジンてもう試せるのかな??? こっちの情報も書きたいところ.
→MySQL 5.1でソースディレクトリ構造に変更があるね.今までは各ストレージエンジンはルート直下にあったのだけれども今は"storage"ディレクトリ配下になってる.で,storageディレクトリにはまだ例のストレージエンジンは格納されていない.ってことはまだか?
結果
./configure --prefix=hogehoge make make install
make installがerror 2で終了し、インストールできない件についてw
まあbkにあるソースは動作保証なしだからなぁ.
ソース配布版 MySQL 5.1.6αにて試してみた.PREFIXだけ指定して"./configure","make","make install".
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.1.6-alpha Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use test Database changed mysql> create table t1 (c1 int) engine=myisam; Query OK, 0 rows affected (0.05 sec) mysql> alter table t1 engine=innodb; Query OK, 0 rows affected, 1 warning (0.14 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> show warnings; +---------+------+--------------------------------------------+ | Level | Code | Message | +---------+------+--------------------------------------------+ | Warning | 1266 | Using storage engine MyISAM for table 't1' | +---------+------+--------------------------------------------+ 1 row in set (0.00 sec) mysql> show create table t1\G *************************** 1. row *************************** Table: t1 Create Table: CREATE TABLE `t1` ( `c1` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 1 row in set (0.00 sec)
外されてるw
が,ご安心あれ.バイナリ配布版ではちゃんとバンドルされている.
D:\mysql\mysql-5.1.6-alpha-win32\bin>mysql -uroot Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.1.6-alpha-nt-max-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use test Database changed mysql> create table t1 (c1 int) engine=innodb; Query OK, 0 rows affected (0.13 sec) mysql> show create table t1\G *************************** 1. row *************************** Table: t1 Create Table: CREATE TABLE `t1` ( `c1` int(11) default NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 1 row in set (0.02 sec)