Stefan Olsson writes:
 > Hi!
 > 
 > I'm trying to recompile the server with support for more than 16 keys.
 > This is what i have changed:
 > sql/unireg.h:#define MAX_KEY 32                         /* Max used keys
 > */
 > 
 > But when i try to insert data into a table with more than 16 defined
 > keys i get:
 > ERROR 1062: Duplicate entry '1' for key 1
 > 
 > Note! The table is empty and does not accept any values, changing the
 > value of the unique column only generates the same error but with
 > diffrent entries/key numbers, example:
 > ERROR 1062: Duplicate entry '0' for key 3
 > 
 > Thanks in advance!
 > 
 > /Stefan
 > 


Hi!

You should create your tables with a new mysql.


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to