From 603e462d32dac87e1ec642e05a47ac930b3fd185 Mon Sep 17 00:00:00 2001 From: Sean Harrington Date: Fri, 29 Jul 2016 11:03:59 -0400 Subject: [PATCH] Added '+' to fix syntax Error --- psycopg/cursor_type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psycopg/cursor_type.c b/psycopg/cursor_type.c index 67bfe823..91b5a72f 100644 --- a/psycopg/cursor_type.c +++ b/psycopg/cursor_type.c @@ -1390,7 +1390,7 @@ psyco_curs_copy_from(cursorObject *self, PyObject *args, PyObject *kwargs) goto exit; } query_size = strlen(command) + strlen(table_name) + strlen(columnlist) - + strlen(quoted_delimiter) + strlen(quoted_null) strlen(quoted_quote) + 1; + + strlen(quoted_delimiter) + strlen(quoted_null) + strlen(quoted_quote) + 1; if (!(query = PyMem_New(char, query_size))) { PyErr_NoMemory(); goto exit;