~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to modules/gsqlitebackend/ssqlite.cc

  • Committer: Bazaar Package Importer
  • Author(s): Debian PowerDNS Maintainers
  • Date: 2005-07-29 20:24:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050729202433-cfrk71byx0mmmbk6
Tags: 2.9.18-1
* New upstream release (Closes: #318798)
* Drop patches: 64bit-compile-fix.dpatch, addfeatures-ldapbackend.dpatch,
  amd64-compilefix.dpatch, blankout-domain-fix.dpatch,
  consistent-sql.dpatch, dosfix-ldapbackend.dpatch, fix-exit-status.dpatch,
  gpgsql-compilefix.dpatch, gsqlite-compilefix.dpatch, gsqlite-slave.dpatch,
  recursor-slowdown.patch.dpatch, typoinitscript.dpatch, zone2ldap.dpatch
  They are applied upstream.
* The ldapbackend did not properly escape all queries, allowing it to fail
  and not answer questions. (CAN-2005-2301)
* Questions from clients denied recursion could blank out answers to clients
  who are allowed recursion services, temporarily. (CAN-2005-2302)

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#include "ssqlite.hh"
10
10
#include <iostream>
11
11
 
12
 
#ifdef WIN32
13
 
# include <io.h>
14
 
# define access _access
15
 
# define F_OK 0
 
12
#ifdef WIN32
 
13
# include <io.h>
 
14
# define access _access
 
15
# define F_OK 0
16
16
#else // WIN32
17
17
# include <unistd.h>
18
18
#endif // Unix
92
92
  const char **ppData;
93
93
  const char **ppColumnNames;
94
94
 
 
95
  row.clear();
 
96
 
95
97
  do
96
98
  {
97
99
    rc = sqlite_step( m_pVM, &numCols, &ppData, &ppColumnNames );