MySQL Forums
Forum List  »  NDB clusters

Re: ejabberd + MySQL Cluster ERROR HASH ON PREFIX
Posted by: Stewart Smith
Date: November 14, 2006 10:07PM

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ejabberd + MySQL Cluster ERROR HASH ON PREFIX
1108
November 14, 2006 10:07PM


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.