Trying to use drop_unique ( $uniquekey ) in a plugin I get the error message (in $GT::SQL::error):
"Failed to execute query: 'ALTER TABLE lsql_SearchLog DROP INDEX Term2' Reason: Can't DROP 'Term2'. Check that column/key exists"
Which seems to indicate that instead of dropping a UNIQUE key, drop_unique attempts to drop in INDEX column.
In my version of Driver.pm (LSQL 2.1.2) line 489 confirms this as it says DROP INDEX where it should say DROP UNIQUE - I guess !?
Anybody knows if this really is a bug, if it has been corrected and a new version of Driver.pm exists?
Regards
Jacob
"Failed to execute query: 'ALTER TABLE lsql_SearchLog DROP INDEX Term2' Reason: Can't DROP 'Term2'. Check that column/key exists"
Which seems to indicate that instead of dropping a UNIQUE key, drop_unique attempts to drop in INDEX column.
In my version of Driver.pm (LSQL 2.1.2) line 489 confirms this as it says DROP INDEX where it should say DROP UNIQUE - I guess !?
Anybody knows if this really is a bug, if it has been corrected and a new version of Driver.pm exists?
Regards
Jacob