[asterisk-bugs] [Asterisk 0014002]: [patch] Column count doesn't match value count

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 16 23:08:40 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14002 
====================================================================== 
Reported By:                qualleyiv
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   14002
Category:                   Addons/cdr_addon_mysql
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.1-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-01 09:30 CST
Last Modified:              2008-12-16 23:08 CST
====================================================================== 
Summary:                    [patch] Column count doesn't match value count
Description: 
Things will be working just fine and then I'll sporadically receive:

[Dec  1 09:17:11] ERROR[139] cdr_addon_mysql.c: Failed to insert into
database: (1136) Column count doesn't match value count at row 1

I'm wondering if it might be/be related to this bug:
http://bugs.digium.com/view.php?id=13815
====================================================================== 

---------------------------------------------------------------------- 
 (0096511) qualleyiv (reporter) - 2008-12-16 23:08
 http://bugs.digium.com/view.php?id=14002#c96511 
---------------------------------------------------------------------- 
Tried applying the patch and got this:

mail:asterisk-addons-1.6.1-rc2 root# wget
'http://bugs.digium.com/file_download.php?file_id=20986&type=bug' -O - |
patch -p0
--23:04:55-- 
http://bugs.digium.com/file_download.php?file_id=20986&type=bug
           => `-'
Resolving bugs.digium.com... 76.164.171.226
Connecting to bugs.digium.com|76.164.171.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,628 (1.6K) [text/plain]

100%[====================================>] 1,628         --.--K/s        
    

23:04:56 (2.19 MB/s) - `-' saved [1628/1628]

patching file cdr/cdr_addon_mysql.c
Hunk http://bugs.digium.com/view.php?id=1 succeeded at 333 (offset -7 lines).
Hunk http://bugs.digium.com/view.php?id=2 succeeded at 353 (offset -7 lines).
Hunk http://bugs.digium.com/view.php?id=3 succeeded at 430 (offset -7 lines).
Hunk http://bugs.digium.com/view.php?id=4 FAILED at 469.
Hunk http://bugs.digium.com/view.php?id=5 succeeded at 599 (offset -41 lines).
1 out of 5 hunks FAILED -- saving rejects to file
cdr/cdr_addon_mysql.c.rej 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-16 23:08 qualleyiv      Note Added: 0096511                          
======================================================================




More information about the asterisk-bugs mailing list