Re: ejabberd + MySQL Cluster ERROR HASH ON PREFIX
just remove the prefix from the CREATE INDEX statement
i.e. use:
CREATE UNIQUE INDEX i_rosteru_user_jid USING HASH ON rosterusers(username, jid);
instead of;
CREATE UNIQUE INDEX i_rosteru_user_jid USING HASH ON rosterusers(username(75), jid(75));
Stewart Smith, Software Engineer - MySQL Cluster
MySQL AB, www.mysql.com
Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html
Subject
Views
Written By
Posted
2301
November 14, 2006 09:46AM
Re: ejabberd + MySQL Cluster ERROR HASH ON PREFIX
1108
November 14, 2006 10:07PM
1071
November 15, 2006 10:27AM
1213
November 26, 2006 11:08PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.