Merged revisions 193006 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
  r193006 | tilghman | 2009-05-07 12:51:13 -0500 (Thu, 07 May 2009) | 7 lines
  
  Second result should not contain data from the first result.
  (closes issue #15039)
   Reported by: jims
   Patches: 
         20090506__issue15039.diff.txt uploaded by tilghman (license 14)
   Tested by: jims
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@193008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2009-05-07 17:53:00 +00:00
parent 2ead6691b9
commit 581a50018b

View File

@@ -524,6 +524,7 @@ static int acf_odbc_read(struct ast_channel *chan, const char *cmd, char *s, cha
status = "SUCCESS"; status = "SUCCESS";
for (y = 0; y < rowlimit; y++) { for (y = 0; y < rowlimit; y++) {
buf[0] = '\0';
for (x = 0; x < colcount; x++) { for (x = 0; x < colcount; x++) {
int i; int i;
struct ast_str *coldata = ast_str_thread_get(&coldata_buf, 16); struct ast_str *coldata = ast_str_thread_get(&coldata_buf, 16);