[asterisk-bugs] [Asterisk 0018692]: [patch] Compile Error - odbc_storage enabled

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Jan 29 21:37:32 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18692 
====================================================================== 
Reported By:                elguero
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18692
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 304637 
Request Review:              
====================================================================== 
Date Submitted:             2011-01-27 16:44 CST
Last Modified:              2011-01-29 21:37 CST
====================================================================== 
Summary:                    [patch] Compile Error - odbc_storage enabled
Description: 
After the changes were merged in r303679, there is a compile error with
ODBC storage enabled.
====================================================================== 

---------------------------------------------------------------------- 
 (0131235) elguero (reporter) - 2011-01-29 21:37
 https://issues.asterisk.org/view.php?id=18692#c131235 
---------------------------------------------------------------------- 
The uploaded patch 'odbc_resequence_mailbox.diff' resolves the compile
error plus adds my proposal for having re-sequencing performed when using
ODBC STORAGE.

This patch changes last_message_index to do what the name suggests.  It
now actually returns the last_message_index for the dir named in the
database instead of assuming that the count of messages is the same as the
index number.

Also, count_messages will do just that; it will count the messages that
are in the database.

I have tested this patch out and everything seems to be working as
expected. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-29 21:37 elguero        Note Added: 0131235                          
======================================================================




More information about the asterisk-bugs mailing list