From 4d1373d76f01dc7bd1cd363279341125f0e07f0e Mon Sep 17 00:00:00 2001 From: Holger Lindemann <hli@lx-system.de> Date: Thu, 24 Jul 2008 09:50:25 +0000 Subject: [PATCH] Methode lock gibt es nicht, begin ist richtig --- lxo-import/import_lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxo-import/import_lib.php b/lxo-import/import_lib.php index 9678472bf..c60975afd 100644 --- a/lxo-import/import_lib.php +++ b/lxo-import/import_lib.php @@ -173,7 +173,7 @@ global $db,$file,$test; if ($test) { return "#####"; } $sql1="select * from defaults"; $sql2="update defaults set ".$file."number = '%s'"; - $db->lock(); + $db->begin(); $rs=$db->getAll($sql1); $nr=$rs[0][$file."number"]; preg_match("/^([^0-9]*)([0-9]+)/",$nr,$hits); -- 2.20.1