Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow global definition of DDEBUG.

From Yichun Zhang (agentzh).
  • Loading branch information...
commit bcdcc62b68b1ffa70ae3c4b67bfdc91ac2259b51 1 parent 6705c75
@PiotrSikora PiotrSikora authored
View
3  src/ngx_postgres_escape.c
@@ -24,7 +24,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_escape.h"
#include "ngx_postgres_module.h"
View
3  src/ngx_postgres_handler.c
@@ -26,7 +26,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_handler.h"
#include "ngx_postgres_module.h"
View
3  src/ngx_postgres_keepalive.c
@@ -25,7 +25,10 @@
* SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_keepalive.h"
View
3  src/ngx_postgres_module.c
@@ -26,7 +26,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_escape.h"
#include "ngx_postgres_handler.h"
View
3  src/ngx_postgres_output.c
@@ -26,7 +26,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_module.h"
#include "ngx_postgres_output.h"
View
3  src/ngx_postgres_processor.c
@@ -26,7 +26,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_output.h"
#include "ngx_postgres_processor.h"
View
3  src/ngx_postgres_rewrite.c
@@ -24,7 +24,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_module.h"
#include "ngx_postgres_rewrite.h"
View
3  src/ngx_postgres_upstream.c
@@ -26,7 +26,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_module.h"
#include "ngx_postgres_keepalive.h"
View
2  src/ngx_postgres_util.c
@@ -25,7 +25,9 @@
* SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
#include <nginx.h>
View
3  src/ngx_postgres_variable.c
@@ -24,7 +24,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
+
#include "ngx_postgres_ddebug.h"
#include "ngx_postgres_module.h"
#include "ngx_postgres_variable.h"
Please sign in to comment.
Something went wrong with that request. Please try again.