projects
/
m6w6
/
ext-pq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
db9b923
)
Make declare string template match generated string
author
Chris Wright
<daverandom@php.net>
Wed, 3 Dec 2014 16:18:28 +0000
(16:18 +0000)
committer
Chris Wright
<daverandom@php.net>
Mon, 15 Dec 2014 15:12:11 +0000
(15:12 +0000)
src/php_pqcur.c
patch
|
blob
|
history
diff --git
a/src/php_pqcur.c
b/src/php_pqcur.c
index 1ff10da22c5e9d103a2b0dc2aeacaa30a669efee..2bc78219868bf512e4a8c2e65067ad115a480fa3 100644
(file)
--- a/
src/php_pqcur.c
+++ b/
src/php_pqcur.c
@@
-165,7
+165,7
@@
static void php_pqcur_object_read_connection(zval *object, void *o, zval *return
char *php_pqcur_declare_str(const char *name_str, size_t name_len, unsigned flags, const char *query_str, size_t query_len)
{
- size_t decl_len = name_len + query_len + sizeof("DECLARE
BINARY INSENSITIVE NO SCROLL CURSOR WITHOUT
HOLD FOR ");
+ size_t decl_len = name_len + query_len + sizeof("DECLARE
BINARY INSENSITIVE NO SCROLL CURSOR WITH
HOLD FOR ");
char *decl_str;
decl_str = emalloc(decl_len);