summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/dbplus/php_dbplus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dbplus/php_dbplus.c b/ext/dbplus/php_dbplus.c
index 26256672e5..2588c47020 100644
--- a/ext/dbplus/php_dbplus.c
+++ b/ext/dbplus/php_dbplus.c
@@ -1136,6 +1136,8 @@ PHP_FUNCTION(dbplus_ropen)
RETURN_FALSE;
}
+ r->r_sid = 9999;
+
ZEND_REGISTER_RESOURCE(return_value, r, le_dbplus_relation);
}
/* }}} */