Commit 98a57323 authored by claes's avatar claes

wb mysql type -> engine in create table statement

parent abb63ade
...@@ -292,37 +292,37 @@ int wb_dbms::createDb() ...@@ -292,37 +292,37 @@ int wb_dbms::createDb()
" oid bigint not null," " oid bigint not null,"
" head longblob not null," " head longblob not null,"
" primary key (oid)" " primary key (oid)"
") type = innodb;"); ") engine = innodb;");
rc = m_t_rbody->create("create table rbody (" rc = m_t_rbody->create("create table rbody ("
" oid bigint not null," " oid bigint not null,"
" body longblob," " body longblob,"
" primary key (oid)" " primary key (oid)"
") type = innodb;"); ") engine = innodb;");
rc = m_t_dbody->create("create table dbody (" rc = m_t_dbody->create("create table dbody ("
" oid bigint not null," " oid bigint not null,"
" body longblob," " body longblob,"
" primary key (oid)" " primary key (oid)"
") type = innodb;"); ") engine = innodb;");
rc = m_t_class->create("create table class (" rc = m_t_class->create("create table class ("
" cidoix bigint not null," " cidoix bigint not null,"
" primary key (cidoix)" " primary key (cidoix)"
") type = innodb;"); ") engine = innodb;");
rc = m_t_name->create("create table name (" rc = m_t_name->create("create table name ("
" poid bigint not null," " poid bigint not null,"
" normname tinyblob not null," " normname tinyblob not null,"
" oid bigint not null," " oid bigint not null,"
" primary key (poid, normname(31))" " primary key (poid, normname(31))"
") type = innodb;"); ") engine = innodb;");
rc = m_t_info->create("create table info (" rc = m_t_info->create("create table info ("
" id int not null," " id int not null,"
" volume longblob not null," " volume longblob not null,"
" primary key (id)" " primary key (id)"
") type = innodb;"); ") engine = innodb;");
#if 0 #if 0
try { try {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment