MySQL Forums
Forum List  »  InnoDB

Re: [InnoDB] BINARY(N) and 0x20 end char
Posted by: Heikki Tuuri
Date: April 11, 2005 10:41PM

Dany,

specify

yourcolumnname(yourcolumnlength)

in the index.

Like this:

CREATE TABLE t(a TINYBLOB NOT NULL, PRIMARY KEY (a(255))) TYPE=InnoDB;

Best regards,

Heikki
Oracle Corp./Innobase Oy
InnoDB - transactions, row level locking, and foreign keys for MySQL

InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables
http://www.innodb.com/order.php

Options: ReplyQuote


Subject
Views
Written By
Posted
4121
April 11, 2005 07:39AM
Re: [InnoDB] BINARY(N) and 0x20 end char
2465
April 11, 2005 10:41PM


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.