2.Fix a *close cursor* error in *disallow premature* mode.
void
CC_clear_error(ConnectionClass *self)
{
+ if (!self) return;
self->__error_number = 0;
if (self->__error_message)
{
{
char fetchstr[128];
- sprintf(fetchstr, ";fetch backward in \"%s\";close %s;",
+ sprintf(fetchstr, ";fetch backward in \"%s\";close \"%s\";",
SC_cursor_name(stmt), SC_cursor_name(stmt));
if (begin_first && CC_is_in_autocommit(conn))
strcat(fetchstr, "COMMIT;");
#define POSTGRESDRIVERVERSION "08.02.0004"
#define POSTGRES_RESOURCE_VERSION "08.02.0004\0"
-#define PG_DRVFILE_VERSION 8,2,0,04
+#define PG_DRVFILE_VERSION 8,2,0,04
#endif