mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-11-04 01:37:31 +03:00 
			
		
		
		
	Fixed callproc return value refcount
Temporary anyway: I want to go back returning a list (or dict).
This commit is contained in:
		
							parent
							
								
									021f6d22ad
								
							
						
					
					
						commit
						4003b7c977
					
				| 
						 | 
					@ -1140,6 +1140,7 @@ psyco_curs_callproc(cursorObject *self, PyObject *args)
 | 
				
			||||||
            self, operation, pvals, self->conn->async, 0)) {
 | 
					            self, operation, pvals, self->conn->async, 0)) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /* return None from this until it's DBAPI compliant... */
 | 
					        /* return None from this until it's DBAPI compliant... */
 | 
				
			||||||
 | 
					        Py_INCREF(Py_None);
 | 
				
			||||||
        res = Py_None;
 | 
					        res = Py_None;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user