~ubuntu-branches/ubuntu/oneiric/inspircd/oneiric-security

« back to all changes in this revision

Viewing changes to src/modules/extra/m_mysql.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2008-11-15 20:39:50 UTC
  • mfrom: (1.1.4 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081115203950-uv1pf98x2vkon7se
Tags: 1.1.21+dfsg-1ubuntu1
* Merge from debian unstable, remaining changes: (LP: #298418)
  - debian/patches/04_include-limits-h.dpatch:
    + Explicitly include limits.h for gcc 4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
        virtual SQLfieldList& GetRow()
206
206
        {
207
207
                if (currentrow < rows)
208
 
                        return fieldlists[currentrow];
 
208
                        return fieldlists[currentrow++];
209
209
                else
210
210
                        return emptyfieldlist;
211
211
        }
686
686
                                pthread_mutex_lock(&results_mutex);
687
687
                                ResultQueue::iterator n = iter->second->rq.begin();
688
688
                                (*n)->Send();
 
689
                                delete (*n);
689
690
                                iter->second->rq.pop_front();
690
691
                                pthread_mutex_unlock(&results_mutex);
691
692
                                return true;