projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6826e7e
)
Methode lock gibt es nicht, begin ist richtig
author
Holger Lindemann
<hli@lx-system.de>
Thu, 24 Jul 2008 09:50:25 +0000
(09:50 +0000)
committer
Holger Lindemann
<hli@lx-system.de>
Thu, 24 Jul 2008 09:50:25 +0000
(09:50 +0000)
lxo-import/import_lib.php
patch
|
blob
|
history
diff --git
a/lxo-import/import_lib.php
b/lxo-import/import_lib.php
index
9678472
..
c60975a
100644
(file)
--- 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);