[Home]

Summary:ASTERISK-14406: ast_load_realtime doesn't return correct values
Reporter:Alekzander (alekz)Labels:
Date Opened:2009-07-01 04:58:47Date Closed:2011-06-07 14:08:23
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_meetme
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:var = ast_load_realtime("meetme", "confno", confno, NULL); in app_meetme.c returns correct pairs of field name & value only for the first and the second field. After that it returns table name instad of field name and correct value pairs.
So it never accepts the adminpin.

****** ADDITIONAL INFORMATION ******

Example:
I've got table: create table temp (confno int(11),adminpin int(11),pin int(11),members int(11));

CLI> realtime load meetme members 0
               Column Name  Column Value
         --------------------  --------------------
                       confno  5555
                     adminpin  4321
                         temp  1234
                         temp  0
Comments:By: Alekzander (alekz) 2009-07-01 05:01:11

Sorry! Read "pin" instead of "adminpin" both for the example output and CREATE string!

By: Tilghman Lesher (tilghman) 2009-08-31 17:27:58

I need a lot more information.  What realtime backend are you using?  What are the complete contents of the table?  Table corruption could also do this, so have you done a database integrity check?

By: Alekzander (alekz) 2009-09-01 08:46:40

It was an unusual compilation bug. After I recompiled asterisk-addons (with the same flags) everything is ok.