aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-13 18:43:41 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-13 18:43:41 +0000
commit5d87ba68cb61ca75694aa5dfd1c26dbd2c9b73e6 (patch)
tree2362d09ce4f9efb1fd0f4dbaa6d5572a62133999
parent9b59a2f33c6f997be0d1e779c2c0276156ef9292 (diff)
downloadperl-URPM-5d87ba68cb61ca75694aa5dfd1c26dbd2c9b73e6.tar
perl-URPM-5d87ba68cb61ca75694aa5dfd1c26dbd2c9b73e6.tar.gz
perl-URPM-5d87ba68cb61ca75694aa5dfd1c26dbd2c9b73e6.tar.bz2
perl-URPM-5d87ba68cb61ca75694aa5dfd1c26dbd2c9b73e6.tar.xz
perl-URPM-5d87ba68cb61ca75694aa5dfd1c26dbd2c9b73e6.zip
(Db_create_transaction) remove 'prefix' paremter which is unused for 9 years,
since commit r11141 by fpons on Apr 29 2003: "first try of 4.2 compatible perl-URPM" warning: this break compatibility with urpmi!
-rw-r--r--NEWS1
-rw-r--r--URPM.xs3
2 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index cd6cfcb..fc8d20e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- clean DB API (needs a new urpmi)
- reduce code size
Version 4.1 - 11 June 2012
diff --git a/URPM.xs b/URPM.xs
index 48b2930..2a84ada 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2612,9 +2612,8 @@ Db_traverse_tag_find(db,tag,name,callback)
RETVAL
URPM::Transaction
-Db_create_transaction(db, prefix="/")
+Db_create_transaction(db)
URPM::DB db
- char *prefix
CODE:
/* this is *REALLY* dangerous to create a new transaction while another is open,
so use the db transaction instead. */