Summary: | ASTERISK-01835: [patch] fixes for EOF conditions in app_sql_postgres.c | ||
Reporter: | constfilin (constfilin) | Labels: | |
Date Opened: | 2004-06-15 21:53:19 | Date Closed: | 2008-01-15 14:58:22.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_sql_postgres.patch | |
Description: | The CVS version of function aPGSQL_fetch in app_sql_postgres.c does not return END-OF-FILE condition correctly if there are no records returned by query. It simply tries to fetch data even when there are no records. The attched patch corects this problem. ****** ADDITIONAL INFORMATION ****** PS: I will be unanavaliable for 2 weeks. So - if at all possible - please put this in CVS. If it is not possible, then I will be able to answer questions and produce more patches in 2 weeks. Thanks -c | ||
Comments: | By: Mark Spencer (markster) 2004-06-15 22:23:57 Added to CVS By: Digium Subversion (svnbot) 2008-01-15 14:58:22.000-0600 Repository: asterisk Revision: 3222 U trunk/apps/app_sql_postgres.c ------------------------------------------------------------------------ r3222 | markster | 2008-01-15 14:58:21 -0600 (Tue, 15 Jan 2008) | 2 lines Merge EOF patch (bug ASTERISK-1835) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3222 |