Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Use of UNIQUE : Fatal errors

Quote Reply
Use of UNIQUE : Fatal errors
Hello!

I cannot use UNIQUE in the add.cgi when I make URL = UNIQUE. If a duplicate appears, it gives a software error!

How can I rectify? It would be nice to make some standard for every one some UNIQUE indexes and do the related changes in the Links SQL!
Quote Reply
Re: Use of UNIQUE : Fatal errors In reply to
Hmm, DBSQL.pm does not yet understand the UNIQUE keyword, might be worthwhile trying to add it in. In the meantime, you'll have to trap the error using eval (). Otherwise, do a query before hand for the URL.

Cheers,

Alex