For MySQL, replace remaining TYPE=InnoDB with ENGINE=InnoDB

- also fix for generated SQL (ie. JBPM)
- enables bootstrap on MySQL 5.5 rc (note: untested / unsupported)
- see http://forums.alfresco.com/en/viewtopic.php?f=8&t=26674
- re: ALF-4996

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23228 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2010-10-22 14:01:26 +00:00
parent 498a6cda70
commit ada7e349d6
6 changed files with 47 additions and 41 deletions

View File

@@ -11,26 +11,26 @@
node_id bigint not null,
qname_id bigint not null,
primary key (node_id, qname_id)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_child_entries (
parent_id bigint not null,
name varchar(160) not null,
child_id bigint not null,
primary key (parent_id, name)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_history_links (
ancestor bigint not null,
descendent bigint not null,
primary key (ancestor, descendent)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_merge_links (
mfrom bigint not null,
mto bigint not null,
primary key (mfrom, mto)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_node_properties (
node_id bigint not null,
@@ -45,7 +45,7 @@
serializable_value blob,
qname_id bigint not null,
primary key (node_id, qname_id)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_nodes (
id bigint not null auto_increment,
@@ -73,7 +73,7 @@
encoding varchar(16),
length bigint,
primary key (id)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_store_properties (
id bigint not null auto_increment,
@@ -89,7 +89,7 @@
string_value text,
serializable_value blob,
primary key (id)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_stores (
id bigint not null auto_increment,
@@ -99,14 +99,14 @@
current_root_id bigint,
acl_id bigint,
primary key (id)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_version_layered_node_entry (
version_root_id bigint not null,
md5sum varchar(32) not null,
path text,
primary key (version_root_id, md5sum)
) type=InnoDB;
) ENGINE=InnoDB;
create table avm_version_roots (
id bigint not null auto_increment,
@@ -119,7 +119,7 @@
description text,
primary key (id),
unique (version_id, avm_store_id)
) type=InnoDB;
) ENGINE=InnoDB;
alter table avm_aspects
add index fk_avm_nasp_n (node_id),

View File

@@ -16,7 +16,7 @@ CREATE TABLE alf_lock_resource
CONSTRAINT fk_alf_lockr_ns FOREIGN KEY (qname_ns_id) REFERENCES alf_namespace (id),
PRIMARY KEY (id),
UNIQUE INDEX idx_alf_lockr_key (qname_ns_id, qname_localname)
) TYPE=InnoDB;
) ENGINE=InnoDB;
CREATE TABLE alf_lock
(
@@ -31,7 +31,7 @@ CREATE TABLE alf_lock
CONSTRAINT fk_alf_lock_excl FOREIGN KEY fk_alf_lock_excl (excl_resource_id) REFERENCES alf_lock_resource (id),
PRIMARY KEY (id),
UNIQUE INDEX idx_alf_lock_key (shared_resource_id, excl_resource_id)
) TYPE=InnoDB;
) ENGINE=InnoDB;
--
-- Record script finish