[Bug 6399] New: ErrorNo: 1089

[email protected] Mon, 10 Aug 2009 01:25:54 +0000 (GMT)
Newsgroups gmane.comp.cms.xaraya.bugs
Message-ID <[email protected]>
http://bugs.xaraya.com/show_bug.cgi?id=6399

           Summary: ErrorNo: 1089
           Product: App - Modules
           Version: Weekly Tarball
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P3 - Standard
         Component: Sniffer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en;
rv:1.9.0.11) Gecko/2009060219 Camino/2.0b3 (like Firefox/3.0.11)
Build Identifier: 

 Modules Administration
Database Query Error

ErrorNo: 1089, Message:Database error while executing: 'ALTER TABLE xar_sniffer
ADD UNIQUE i_xar_sniff_ag ( xar_ua_agent ( 328 ) ) '; error description is:
'Incorrect sub part key. The used key part isn't a string, the used length is
longer than the key part or the table handler doesn't support unique sub keys'.

A database query could not be executed, either because the query could not be
understood or because it returned unexpected results.

     at xarException__dbErrorHandler(xarException.php:481)
     Array
(
    [0] => mysql
    [1] => EXECUTE
    [2] => 1089
    [3] => Incorrect sub part key. The used key part isn't a string, the used
length is longer than the key part or the table handler doesn't support unique
sub keys
    [4] => ALTER TABLE xar_sniffer ADD UNIQUE i_xar_sniff_ag ( xar_ua_agent (
328 ) ) 
    [5] => 
    [6] => ADODB_xarmysql Object
        (
            [hasGenID] => 
            [databaseType] => mysql
            [dataProvider] => mysql
            [hasInsertID] => 1
            [hasAffectedRows] => 1
            [metaTablesSQL] => SHOW TABLES
            [metaColumnsSQL] => SHOW COLUMNS FROM `%s`
            [fmtTimeStamp] => 'Y-m-d H:i:s'


Reproducible: Always

Steps to Reproduce:
1. fresh install w/ latest pull of sniffer module
2. click install within modules
3. error generated


-- 
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---- ** IMPORTANT ** READ BELOW ** ----
[Clip Me Start]
--------------------------------------------------------------------------
If you wish, you can reply to this message directly **however**, make sure
to use the "Reply To All" feature of your client **and** ensure that the 
bug specifier is in the subject (ie: [Bug ####]). Also, you _MUST_ have 
you're From or Reply-To address set to the same address you use to log
into your bugzilla account or your reply will not be attached to the bug.
--------------------------------------------------------------------------
[Clip Me End]